mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 12:58:11 -05:00
[GH-ISSUE #10926] Custom Models should honor to the model:tag convention #31610
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 @rustyrazorblade on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10926
Confirmation:
Custom models are created with a simple
model-nameid, which causes some issues with other tools that expectmodel-name:tag. Continue is a good example of this. It will automatically add:latestto the model when trying to use the chat function. I filed an issue with Continue to try to improve this.I realize that on it's face, one can make a perfectly reasonable argument that Continue should use whatever you put in, and not add
:latest. One could also argue that ifmodel:tagis a convention, it's reasonable to append:latestto any model that lacks a tag. I suspect other tools will probably have this same issue. I think it would be good to solve this in Open WebUI. I can think of two ways to address it.:latestto the end of the model when saving to the DB. Probably the easiest solution, likely just one line of code.:latest, if it's not found, do a follow up search for the model with the:latestsuffix removed.I can contribute a patch for either version if it's welcome.
@rustyrazorblade commented on GitHub (Feb 27, 2025):
Why was this closed?