[GH-ISSUE #10933] Add 'hidethinking' to API #7196

Closed
opened 2026-04-12 19:11:41 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @kekePower on GitHub (May 31, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10933

In my project, I have to clean up the <think> and </think> from the output of, for example, Qwen3.
I did add the think: false and it works great for both Qwen3 and DeepSeek, thanks for that :-)

Is it possible to add the hidethinking option to the API call to make it easier for coders so that they don't have to clean up the response?

There was no mention of this in the release notes, so if it's already an option please direct me to the documentation.

Originally created by @kekePower on GitHub (May 31, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10933 In my project, I have to clean up the `<think>` and `</think>` from the output of, for example, Qwen3. I did add the `think: false` and it works great for both Qwen3 and DeepSeek, thanks for that :-) Is it possible to add the `hidethinking` option to the API call to make it easier for coders so that they don't have to clean up the response? There was no mention of this in the release notes, so if it's already an option please direct me to the documentation.
GiteaMirror added the feature request label 2026-04-12 19:11:41 -05:00
Author
Owner

@rick-github commented on GitHub (May 31, 2025):

dupe #10914

<!-- gh-comment-id:2925762499 --> @rick-github commented on GitHub (May 31, 2025): dupe #10914
Author
Owner

@kekePower commented on GitHub (May 31, 2025):

dupe #10914

Thanks. Didn't look far enough back to see this one.

<!-- gh-comment-id:2925780163 --> @kekePower commented on GitHub (May 31, 2025): > dupe [#10914](https://github.com/ollama/ollama/issues/10914) Thanks. Didn't look far enough back to see this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7196