mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[GH-ISSUE #22557] issue: User configured "Advanced Paramters" for Ollama models are sent to Open AI models #74349
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 @derek-assurity on GitHub (Mar 11, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22557
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.8
Ollama Version (if applicable)
v0.17.5
Operating System
Ubuntu 22.04
Browser (if applicable)
Firefox v147.0.2
Confirmation
README.md.Expected Behavior
Setting the
num_ctxto 10000 in the Advanced Parameters, should not affect calls to non Ollama hosted LLM that are accessed via an Open AI connector.Actual Behavior
Setting the
num_ctxto 10000, in the Advanced Parameters for a user, breaks calls to Bedrock which is accessed via a LiteLLM proxy. With the error message:Debug on
litellmshows the following being sent:Litellm has been configured to
drop_params: truebut this does not catch this issue.Steps to Reproduce
litellmas a proxy for AWS Bedrocknum_ctxparameter to10000in the Advanced Parameters for a userMalformed ExceptionLogs & Screenshots
As detailed in steps above
Additional Information
No response
@tjbck commented on GitHub (Mar 22, 2026):
Some openai inference providers support this param, you should remove before making a request.
@derek-assurity commented on GitHub (Mar 22, 2026):
I don't understand why this has been closed. The fields are even identified in the UI with "(ollama)" tags, they should not be sent if they are not part of the OpenAI API. This means settings have been changed any time a model is changed and the user has to know if the model is being served from Ollama or via a proxy.