mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #11223] [Bug] Ollama Model List Not Updating After Deleting a Model #16150
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 @MillionthOdin16 on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11223
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.5.19
Ollama Version (if applicable)
0.5.13
Operating System
Debian 12
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
When a model is deleted using the "Delete a model" option in the Ollama connection settings, the "Select a model" dropdown list should update immediately to remove the deleted model from the list. This ensures the list accurately reflects the currently available models without requiring a page refresh.
Actual Behavior
After deleting a model using the "Delete a model" option, the "Select a model" dropdown list is not updated. The deleted model remains visible in the list until the page is manually refreshed. If a user attempts to delete another model without refreshing, the list still contains the previously deleted model. Selecting a model that has already been deleted results in an error message "model not found
Steps to Reproduce
Logs & Screenshots
When a model that has already been deleted is selected, a toast appears that says "Ollama: model not found"
Additional Information
No response
@tjbck commented on GitHub (Mar 5, 2025):
If you refresh the webui the model list will update.
@MillionthOdin16 commented on GitHub (Mar 5, 2025):
Yes, I said that in the bug report. My point is that usability can be improved by updating the stale model list. Why close the issue?