mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #5803] Deleting models from the Web UI does not work if they have been renamed #14132
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 @robertosw on GitHub (Sep 29, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5803
Bug Report
When trying to delete a model using the admin panel, this only works if the model has not been renamed. Otherwise the user assigned name will be used in the delete request and an error will pop up that the model could not be deleted.
I added some icons to the models to distinguish between their use cases, so I renamed phi3 from

phi3:14bto💬 phi3and get this error:Installation Method
Environment
Open WebUI Version: v0.3.30
Ollama: v.0.3.6
Operating System: linux 6.10.11 | NixOS 24.11
Browser (if applicable): Mozilla Firefox 130.0.1
Confirmation:
Docker container logs
@tjbck commented on GitHub (Oct 19, 2024):
Fixed on dev!