mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
issue: user setting overrules model settings for websearch #6302
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 @Maximilian-Pichler on GitHub (Sep 2, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.26
Ollama Version (if applicable)
none
Operating System
linux
Browser (if applicable)
any
Confirmation
README.md.Expected Behavior
We have encountered an issue related to model configuration and tool access permissions.
Expected Behavior:
Model-level restrictions on tool access (such as Websearch) should not be bypassed by global user settings.
Actual Behavior
Actual Behavior:
Global "always use websearch" setting overrides the custom model's configuration, enabling Websearch where it should be explicitly disabled.
Steps to Reproduce
Steps to Reproduce:
In our workspace, we created a custom model and explicitly disabled the Websearch tool for most models, to prevent scenarios where users might upload internal documents whose content could be sent to our external search API provider (not trusted for internal data).
Our intended setup is:
For models with Websearch enabled, file upload is disabled.
For models with file upload enabled, Websearch is disabled.
Issue:
If a user sets the application-wide setting to "always use websearch," this setting overrides model-specific tool restrictions. As a result, Websearch is used even with custom models that should not have access to this tool. This poses a potential security risk, as internal documents could be exposed to third parties via the websearch API.
Logs & Screenshots
none
Additional Information
It's unclear if this behavior is intentional, but it was unexpected from our point of view.
@tjbck commented on GitHub (Sep 6, 2025):
Addressed with
9368d0ac75