[GH-ISSUE #10926] Custom Models should honor to the model:tag convention #54747

Closed
opened 2026-05-05 16:40:23 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @rustyrazorblade on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10926

Confirmation:

  • [ x] I have read and followed all the instructions provided in the README.md.
  • [x ] I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Custom models are created with a simple model-name id, which causes some issues with other tools that expect model-name:tag. Continue is a good example of this. It will automatically add :latest to 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 if model:tag is a convention, it's reasonable to append :latest to 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.

  1. Automatically append :latest to the end of the model when saving to the DB. Probably the easiest solution, likely just one line of code.
  2. If a model is referenced with :latest, if it's not found, do a follow up search for the model with the :latest suffix removed.

I can contribute a patch for either version if it's welcome.

Originally created by @rustyrazorblade on GitHub (Feb 27, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/10926 **Confirmation:** - [ x] I have read and followed all the instructions provided in the README.md. - [x ] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. Custom models are created with a simple `model-name` id, which causes some issues with other tools that expect `model-name:tag`. Continue is a good example of this. It will automatically add `:latest` to the model when trying to use the chat function. I [filed an issue with Continue](https://github.com/continuedev/continue/issues/4386) 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 if `model:tag` is a convention, it's reasonable to append `:latest` to 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. 1. Automatically append `:latest` to the end of the model when saving to the DB. Probably the easiest solution, likely just one line of code. 2. If a model is referenced with `:latest`, if it's not found, do a follow up search for the model with the `:latest` suffix removed. I can contribute a patch for either version if it's welcome.
Author
Owner

@rustyrazorblade commented on GitHub (Feb 27, 2025):

Why was this closed?

<!-- gh-comment-id:2688960857 --> @rustyrazorblade commented on GitHub (Feb 27, 2025): Why was this closed?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#54747