ollama - 💡(How to fix) Fix How to completely disable the thinking mode by configuring the modelfile in Qwen3.5 [5 comments, 5 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#14617Fetched 2026-04-08 00:33:45
View on GitHub
Comments
5
Participants
5
Timeline
10
Reactions
0
Author
Timeline (top)
commented ×5subscribed ×2closed ×1labeled ×1
RAW_BUFFERClick to expand / collapse

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

extent analysis

Fix Plan

To completely disable the thinking mode in Qwen3.5, you can try the following steps:

  • Modify the modelfile configuration to include the no_think parameter with a value of true.
  • Alternatively, you can set the thinking_mode parameter to false in the modelfile configuration.

Example modelfile configuration:

model:
  no_think: true
  # or
  thinking_mode: false

If you are launching the model via API, you can pass the no_think parameter as a query string or in the request body.

Example API request:

curl -X POST \
  http://example.com/api/launch \
  -H 'Content-Type: application/json' \
  -d '{"no_think": true}'

Verification

To verify that the fix worked, you can check the model's behavior and logs to ensure that it is not entering thinking mode.

Extra Tips

Make sure to restart the model or reload the configuration after making changes to the modelfile. Additionally, you can check the Qwen3.5 documentation for more information on configuring the model and launching it via API.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING