mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #19214] issue: default model params take precedence over user-specified model params #34336
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 @Simon-Stone on GitHub (Nov 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19214
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.36
Ollama Version (if applicable)
No response
Operating System
Mac OS
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
Model parameters specified in the chat controls (e.g., setting
Reasoning Efforttohigh) should override any default model parameters specified in the Model admin settings (e.g.,Reasoning Effortset tolow).Actual Behavior
The parameter precedence is backwards: If a default value is specified in the admin Model settings, the value overrides any value specified for the same key in the chat controls.
Steps to Reproduce
Reasoning Efforttolowin the admin Model settingsReasoning Efforttohighin the Chat Controlsreasoning_effortwill be"low".Logs & Screenshots
N/A
Additional Information
I believe the key change needs to be made in this part:
@tjbck commented on GitHub (Nov 16, 2025):
Intended behaviour here for security purposes.
@Simon-Stone commented on GitHub (Nov 16, 2025):
Oh, wow, that's surprising. I can see this make sense for a system prompt, but I'm not sure how reasoning effort or temperature would be security risks.
This normally wouldn't be a problem because we could just not specify the parameters we want users to be able to change, but with GPT 5.1 requiring an explicit parameter value for reasoning effort (no server default), this means we cannot allow users to change it (because we have to set an explicit default which then will always take precedence).
Would you be open to a pull request that adds a "lock parameter" feature? Basically, in the admin model parameter section, a little lock icon allows the admin to lock parameter values down or leave them open to user overrides.