diff --git a/VideoAnalysisCore/AICore/GPT/ChatGPTType.cs b/VideoAnalysisCore/AICore/GPT/ChatGPTType.cs index 072901a..6cf0102 100644 --- a/VideoAnalysisCore/AICore/GPT/ChatGPTType.cs +++ b/VideoAnalysisCore/AICore/GPT/ChatGPTType.cs @@ -24,8 +24,6 @@ namespace VideoAnalysisCore.AICore.GPT //public const string Gemini_3_Chat_thinking = "gemini-3-pro-preview-thinking"; public const string Gemini_3_Chat = "gemini-3.1-pro-preview"; //public const string Gemini_3_Chat_flash = "gemini-3-flash-preview"; - public const string Gemini_31_Chat_flash = "gemini-3.1-flash-preview"; - - + public const string Gemini_31_Chat_flash = "gemini-3.1-flash-lite-preview"; } } diff --git a/VideoAnalysisCore/AICore/GPT/GTP_Analysis_1.cs b/VideoAnalysisCore/AICore/GPT/GTP_Analysis_1.cs index 0cc9ede..c3e30cf 100644 --- a/VideoAnalysisCore/AICore/GPT/GTP_Analysis_1.cs +++ b/VideoAnalysisCore/AICore/GPT/GTP_Analysis_1.cs @@ -242,7 +242,7 @@ namespace VideoAnalysisCore.AICore.GPT 输出格式: 输出格式为json: {checkResFormat} """; - return await chatGPTClient.ChatAsync(taskInfo.Id.ToString(), checkMessage, "结果检查"); + return await chatGPTClient.ChatAsync(taskInfo.Id.ToString(), checkMessage, "结果检查",ChatGPTType.GPT54); } /// /// 采用改进意见 @@ -762,7 +762,7 @@ namespace VideoAnalysisCore.AICore.GPT } var maxVideoTime = captions?.TimeBase?.LastOrDefault()?.End ?? 0; List? questionRes = null; - var tryCount = 20; + var tryCount = 3; var last改进意见 = string.Empty; while (tryCount-- > 0) {