perf: 兼容deepseek格式

This commit is contained in:
ccnetcore
2025-07-21 22:03:55 +08:00
parent b5fb2c42c6
commit b6d670c240

View File

@@ -119,7 +119,7 @@ public sealed class DeepSeekChatCompletionsService(ILogger<DeepSeekChatCompletio
// 需要将content的内容转换到其他字段
foreach (var choice in result.Choices)
{
choice.Delta.ReasoningContent = choice.Delta.Content;
//choice.Delta.ReasoningContent = choice.Delta.Content;
//choice.Delta.Content = string.Empty;
}
}