perf: 兼容deepseek格式
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user