mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
issue: disabling a model persists all details #4284
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 @stevenh on GitHub (Mar 6, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
No response
Operating System
macos sequioa
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
If a pipe or source data is updated renaming a model that hasn't been customised by the user I would expect the new name to be applied.
Actual Behavior
Old names are persisted if the user has made any changes to model, most importantly if toggled the enable / disable switch.
Steps to Reproduce
While OpenRouter provides an easy way to test as it includes the Model Prefix option, any pipe or data source which changed the name of a model would trigger this issue.
Logs & Screenshots
Here's a screenshot of where I changed the prefix a few times the last three models we never toggled the first was and has now had it's name persisted.

Additional Information
The cause for this is all details are persisted about a model if any change is made which includes toggling its status. The code responsible for this is here.
I would suggest that names should only be persisted if edited, allowing pipes to update them successfully.
@stevenh commented on GitHub (Mar 6, 2025):
The only workaround I've found so far is export the DB, delete the offending rows and then import the db using the details provided here.