mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #20921] issue: think field is used incorrectly for ollama and reasoning_effort is not used correctly with its API #57994
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 @svenstaro on GitHub (Jan 25, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20921
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.7.2
Ollama Version (if applicable)
v0.15.1
Operating System
Arch Linux
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Thinking effort should be settable for gpt-oss models when using the ollama connection.
Actual Behavior
Thinking effort is not set correctly by open-webui.
Steps to Reproduce
gpt-oss-120borgpt-oss-20bavailable in ollamaReasoning Efforttohighmsg="invalid option provided" option=reasoning_effortLogs & Screenshots
Additional Information
open-webui currently incorrectly assumes that
thinkis alwaysboolbut according to upstream docs, this can be eitherboolorstring, depending on the model.Observe the warning on the upstream docs:
Furthermore, open-webui will also currently try to send
reasoning_effortto ollama as-is which results in this log line in ollama:@owui-terminator[bot] commented on GitHub (Jan 25, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20361 Issue: Large-scale model setting-related functionality fails.
by shentong0722 • Jan 04, 2026 •
bug#20327 issue: Unable to use any Open WebUI version newer than 0.6.25 due to hybrid search performance
by galvanoid • Jan 02, 2026 •
bug#19864 issue: Ollama Parameters get overriden after native tool calls
by Haervwe • Dec 10, 2025 •
bug#20231 issue: Non-streaming responses with thinking enabled are not parsed correctly (thinking content merged into final answer)
by hamid370 • Dec 29, 2025 •
bug#19755 issue: Error: 404, message='Not Found', url='http://ollama:11434/api/embed'
by stevewillett • Dec 04, 2025 •
bugShow 5 more related issues
#19017 issue: OPENAI_API_CONFIGS and OLLAMA_API_CONFIGS environment variables are not parsed from JSON
by runixer • Nov 07, 2025 •
bug#19170 issue: Settings not honored or understood
by itguy327 • Nov 13, 2025 •
bug#19752 issue: minor UI Bug: knowledge sharing
by mahenning • Dec 04, 2025 •
bug,confirmed issue#18145 issue: 0.6.33 regression
by Ark-Levy • Oct 08, 2025 •
bug#19987 issue: There is a lack of visual consistency between the home page and the chat interface.
by i-iooi-i • Dec 16, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@svenstaro commented on GitHub (Jan 25, 2026):
I think a fairly simple fix would be to map the value of the
reasoning_effortfield tothinkifreasoning_effortis set, otherwise go with the default value ofthink?@tjbck commented on GitHub (Feb 22, 2026):
Addressed in dev!
@Classic298 commented on GitHub (Feb 22, 2026):
30a13b9b2f