Based on this blog post https://ollama.com/blog/thinking the think parameter should be working with the Qwen3 model.
Using the latest version (0.5.1) of the lib:
pip show ollama
Name: ollama
Version: 0.5.1
Summary: The official Python client for Ollama.
Home-page: https://ollama.com
Author:
Author-email: hello@ollama.com
License:
Model: qwen3:14b
Then using the lib with streaming and tools but thinking disable
chat(self.default_model, messages, stream=True, think=False, tools=tools)
The <think>xxxxxx</think> block is always returned within the response.
Is there there a known issue with this combination of model+options (tool/stream/think) ?
Based on this blog post https://ollama.com/blog/thinking the
thinkparameter should be working with theQwen3model.Using the latest version (0.5.1) of the lib:
Model:
qwen3:14bThen using the lib with streaming and tools but thinking disable
chat(self.default_model, messages, stream=True, think=False, tools=tools)The
<think>xxxxxx</think>block is always returned within the response.Is there there a known issue with this combination of model+options (tool/stream/think) ?