新增 使用独立的gpt聚合平台token
This commit is contained in:
parent
363bf5325e
commit
929d6f8a98
|
|
@ -39,7 +39,8 @@
|
||||||
"ChatGpt": {
|
"ChatGpt": {
|
||||||
"KIMI": {
|
"KIMI": {
|
||||||
"Host": "https://api.moonshot.cn",
|
"Host": "https://api.moonshot.cn",
|
||||||
"ApiKey": "sk-8BvvhESZIkgUbiaaJhglPxFa4o2X9H3xEv9lXELrWWwGxHWY"
|
//"ApiKey": "sk-8BvvhESZIkgUbiaaJhglPxFa4o2X9H3xEv9lXELrWWwGxHWY"
|
||||||
|
"ApiKey": "sk-sHk2ecDDJW44svtJpviAZe8utY3bRnIyXVm9zMRwdnzhGkER"
|
||||||
},
|
},
|
||||||
"ChatGpt": {
|
"ChatGpt": {
|
||||||
//"Host": "https://api.g4f.icu/",
|
//"Host": "https://api.g4f.icu/",
|
||||||
|
|
|
||||||
|
|
@ -273,6 +273,7 @@ namespace VideoAnalysisCore.Controllers
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public async Task ReStart(long id, RedisChannelEnum selectEnum)
|
public async Task ReStart(long id, RedisChannelEnum selectEnum)
|
||||||
{
|
{
|
||||||
|
await redisManager.AddTaskLog(id,"手动重试任务");
|
||||||
await redisManager.ClearTaskError(id);
|
await redisManager.ClearTaskError(id);
|
||||||
_ = Task.Run(async () =>
|
_ = Task.Run(async () =>
|
||||||
await redisManager.InsertChannel(selectEnum, id)
|
await redisManager.InsertChannel(selectEnum, id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue