mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #1242] feat: typeahead/autocomplete/dropdown suggestions for the 'Pull a model from Ollama.com' input box #12410
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 @dannyl1u on GitHub (Mar 21, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1242
Is your feature request related to a problem? Please describe.
This would be a nice-to-have feature for improved UX. Potentially saves the user time from going to https://ollama.com/models, copy pasting the name of a model and going back to OpenWebUI to pull the model.
Describe the solution you'd like
A typeahead, autocomplete, and/or a suggestion select menu dropdown implemented, which would effectively turn the input box into a search bar, using a hardcoded list of models on the frontend.
Describe alternatives you've considered
Non hard-coded solution, however Ollama.com doesn't have an API that returns a list of the available models to pull, thus we would need to web scrape ollama.com/models to get a list of the models each time
Additional context
I have a suggestion select menu dropdown using a hardcoded list of models implemented locally, can make a draft PR but would like to see if anyone has any input or comment on this.
@ghost commented on GitHub (Mar 26, 2024):
It looks like your pull request encompasses "official" models only but it's noteworthy that user submitted models have recently become searchable. If these models are ever supported I'd hope to see a warning of some sort!