mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
issue: Unsupported "keep_alive" parameter added to OpenAI payload if set in user settings #5399
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 @hemzet on GitHub (May 30, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.13
Ollama Version (if applicable)
No response
Operating System
Ubuntu
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Setting has no effect if not supported by an api - or parameter not applied to api call if not supported.
Actual Behavior
If the parameter "Keep Alive" is set in a user setting and any OpenAI model (e.g. GPT-4o) is used, the model returns an error:
400: Unknown parameter: 'keep_alive'Steps to Reproduce
Logs & Screenshots
400: Unknown parameter: 'keep_alive'Additional Information
No response
@rgaricano commented on GitHub (May 30, 2025):
addressed, https://github.com/open-webui/open-webui/discussions/14515#discussioncomment-13314924
@hemzet commented on GitHub (May 30, 2025):
Thanks for sharing. A toggle per model and parameter leads to bad user experience. Adding a toggle for each configured api and parameter requires admin privilege, wouldn't add to user experience either.
If (some) parameters are valid for Ollama only, why not preventing those from being added to the api call for OpenAPI calls?
@tjbck commented on GitHub (May 31, 2025):
Because some OpenAI compatible endpoint providers also use the exact same parameters.
@KyleF0X commented on GitHub (Jun 1, 2025):
Yeh i just noticed this when trying to use o4-mini API