We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88915cb commit 9e2e219Copy full SHA for 9e2e219
tools/cli/cli.cpp
@@ -215,7 +215,7 @@ struct cli_context {
215
inputs.parallel_tool_calls = false;
216
inputs.add_generation_prompt = true;
217
inputs.reasoning_format = COMMON_REASONING_FORMAT_DEEPSEEK;
218
- inputs.enable_thinking = common_chat_templates_support_enable_thinking(chat_params.tmpls.get());
+ inputs.enable_thinking = chat_params.enable_thinking ? common_chat_templates_support_enable_thinking(chat_params.tmpls.get()) : false;
219
220
// Apply chat template to the list of messages
221
return common_chat_templates_apply(chat_params.tmpls.get(), inputs);
0 commit comments