From b161d83aace5750c1c6cdc8e86f576460e866e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Fri, 10 Apr 2026 18:38:20 +0800 Subject: [PATCH] =?UTF-8?q?=20=E8=BE=93=E5=87=BA=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VideoAnalysisCore/AICore/GPT/GPTClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VideoAnalysisCore/AICore/GPT/GPTClient.cs b/VideoAnalysisCore/AICore/GPT/GPTClient.cs index 16000ef..854d7bb 100644 --- a/VideoAnalysisCore/AICore/GPT/GPTClient.cs +++ b/VideoAnalysisCore/AICore/GPT/GPTClient.cs @@ -75,7 +75,7 @@ namespace VideoAnalysisCore.AICore.GPT var chatResp = await PostJsonStreamAsync(Config.Host + Config.Path, chatReq, Config.ApiKey); if (!chatResp.IsSuccessStatusCode) { - await _workflowManager.AddTaskLog(chatReq.taskId, "==>请求GPT服务器异常 " + chatResp?.StatusCode + " " + await chatResp.Content.ReadAsStringAsync()); + await _workflowManager.AddTaskLog(chatReq.taskId, $"==>请求GPT服务器异常 {chatResp?.StatusCode} 模型 {chatReq.model} {await chatResp.Content.ReadAsStringAsync()}"); if (--i < 0) { throw new Exception("请求GPT服务器失败次数过多");