mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 00:55:21 -04:00
think flag has no effect when using qwen3:8b #298
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kychiu1 on GitHub (Sep 17, 2025).
Passing the think parameter to chat() or AsyncClient.chat() doesn’t appear to change the output or behavior when using the qwen3:8b model.
Environment:
My test code:
@steliosm commented on GitHub (Sep 19, 2025):
Saw the same issue also when using the qwen3:8b.
Currently using:
ollama-python: 0.5.4
ollama version: 0.11.10
@zhenyu-24 commented on GitHub (Oct 16, 2025):
It may be that the ollama version does not correspond to the ollama-python version. The newer version has been updated and use the thinking in the message
@ParthSareen commented on GitHub (Nov 11, 2025):
Can you
pullthe qwen models@JamesCHub commented on GitHub (Dec 16, 2025):
With ollama-python v0.6.1 and qwen3:4b, the think argument doesn't prevent thinking, rather it results in all the thinking being combined with the output. Including directives in the prompt seem to be effective. e.g. "Do not provide reasoning or background."
@ParthSareen commented on GitHub (Dec 16, 2025):
@JamesCHub can you provide me the request you're making ?