新增 使用独立的gpt聚合平台token

This commit is contained in:
小肥羊 2025-11-20 11:23:59 +08:00
parent 363bf5325e
commit 929d6f8a98
2 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,8 @@
"ChatGpt": {
"KIMI": {
"Host": "https://api.moonshot.cn",
"ApiKey": "sk-8BvvhESZIkgUbiaaJhglPxFa4o2X9H3xEv9lXELrWWwGxHWY"
//"ApiKey": "sk-8BvvhESZIkgUbiaaJhglPxFa4o2X9H3xEv9lXELrWWwGxHWY"
"ApiKey": "sk-sHk2ecDDJW44svtJpviAZe8utY3bRnIyXVm9zMRwdnzhGkER"
},
"ChatGpt": {
//"Host": "https://api.g4f.icu/",

View File

@ -273,6 +273,7 @@ namespace VideoAnalysisCore.Controllers
[HttpGet]
public async Task ReStart(long id, RedisChannelEnum selectEnum)
{
await redisManager.AddTaskLog(id,"手动重试任务");
await redisManager.ClearTaskError(id);
_ = Task.Run(async () =>
await redisManager.InsertChannel(selectEnum, id)