[GH-ISSUE #14617] How to completely disable the thinking mode by configuring the modelfile in Qwen3.5 #35232

Closed
opened 2026-04-22 19:37:04 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @zuohaoda on GitHub (Mar 4, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14617

What is the issue?

How to completely disable the thinking mode by configuring the modelfile in Qwen3.5
Attempting to add no_think is ineffective.

Or is there any way to make the model default to non-thinking mode when launched via API?

Relevant log output


OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.17.4

Originally created by @zuohaoda on GitHub (Mar 4, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14617 ### What is the issue? How to completely disable the thinking mode by configuring the modelfile in Qwen3.5 Attempting to add no_think is ineffective. Or is there any way to make the model default to non-thinking mode when launched via API? ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.17.4
GiteaMirror added the bug label 2026-04-22 19:37:04 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 4, 2026):

There is currently no way to set thinking mode via the Modelfile (#10961). If you are using the API, set "think":false.

<!-- gh-comment-id:3997089738 --> @rick-github commented on GitHub (Mar 4, 2026): There is currently no way to set thinking mode via the Modelfile (#10961). If you are using the API, set `"think":false`.
Author
Owner

@zuohaoda commented on GitHub (Mar 4, 2026):

There is currently no way to set thinking mode via the Modelfile (#10961). If you are using the API, set "think":false.目前无法通过 Modelfile ( #10961 ) 设置思维模式。如果你用的是 API,请设置 “think”:false

Thank you, looking forward to this feature.

<!-- gh-comment-id:3997339056 --> @zuohaoda commented on GitHub (Mar 4, 2026): > There is currently no way to set thinking mode via the Modelfile ([#10961](https://github.com/ollama/ollama/issues/10961)). If you are using the API, set `"think":false`.目前无法通过 Modelfile ( [#10961](https://github.com/ollama/ollama/issues/10961) ) 设置思维模式。如果你用的是 API,请设置 `“think”:false`。 Thank you, looking forward to this feature.
Author
Owner

@javajuice1337 commented on GitHub (Mar 9, 2026):

Please, please, please add a PARAMETER that allows us to turn off thinking in a Modelfile. Thank you.

<!-- gh-comment-id:4025170086 --> @javajuice1337 commented on GitHub (Mar 9, 2026): Please, please, please add a PARAMETER that allows us to turn off thinking in a Modelfile. Thank you.
Author
Owner

@ekolawole commented on GitHub (Mar 12, 2026):

They still have not added the parameter think false, so why close the bug cases?

<!-- gh-comment-id:4042990430 --> @ekolawole commented on GitHub (Mar 12, 2026): They still have not added the parameter think false, so why close the bug cases?
Author
Owner

@DarrenCook commented on GitHub (Apr 7, 2026):

They still have not added the parameter think false, so why close the bug cases?

@ekolawole It has been closed in favour of the existing duplicate: https://github.com/ollama/ollama/issues/10961
It is better to have the same bug in just one place, so all the information is kept together. If you go there, you will see it links to a couple of pull requests that people have made. So hopefully it will not be too long before they get merged in.

<!-- gh-comment-id:4198908520 --> @DarrenCook commented on GitHub (Apr 7, 2026): > They still have not added the parameter think false, so why close the bug cases? @ekolawole It has been closed in favour of the existing duplicate: https://github.com/ollama/ollama/issues/10961 It is better to have the same bug in just one place, so all the information is kept together. If you go there, you will see it links to a couple of pull requests that people have made. So hopefully it will not be too long before they get merged in.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#35232