feat: 添加思考模式配置支持
在SummaryConfig结构体中新增Thinking字段,支持启用思考模式功能。更新相关配置文件、类型定义和客户端代码以支持该功能。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user