feat: 添加思考模式配置支持

在SummaryConfig结构体中新增Thinking字段,支持启用思考模式功能。更新相关配置文件、类型定义和客户端代码以支持该功能。
This commit is contained in:
wizardchen
2025-12-31 13:42:42 +08:00
committed by lyingbug
parent d6a1647be3
commit 0d020ce30c
5 changed files with 14 additions and 8 deletions
@@ -46,6 +46,7 @@ func prepareChatModel(ctx context.Context, modelService interfaces.ModelService,
MaxCompletionTokens: chatManage.SummaryConfig.MaxCompletionTokens,
FrequencyPenalty: chatManage.SummaryConfig.FrequencyPenalty,
PresencePenalty: chatManage.SummaryConfig.PresencePenalty,
Thinking: chatManage.SummaryConfig.Thinking,
}
return chatModel, opt, nil