We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dcd200 commit 6c019cbCopy full SHA for 6c019cb
tools/server/server.cpp
@@ -2313,7 +2313,7 @@ struct server_context {
2313
// thinking is enabled if:
2314
// 1. It's not explicitly disabled (reasoning_budget == 0)
2315
// 2. The chat template supports it
2316
- const bool enable_thinking = params_base.reasoning_budget != 0 && common_chat_templates_support_enable_thinking(chat_templates.get());
+ const bool enable_thinking = params_base.use_jinja && params_base.reasoning_budget != 0 && common_chat_templates_support_enable_thinking(chat_templates.get());
2317
SRV_INF("Enable thinking? %d\n", enable_thinking);
2318
2319
oai_parser_opt = {
0 commit comments