mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-23 03:23:08 -05:00
[GH-ISSUE #24238] feat: model dropdown grouping/hierarchy — show models by provider/source #123548
Reference in New Issue
Block a user
Originally created by @bogerman1 on GitHub (Apr 29, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24238
Problem
Currently
/v1/modelsreturns a flat list. When connecting to Hermes Agent (or any backend with many models), the model selector dropdown becomes a long flat list with 40+ entries — hard to navigate.Models like
hermes/deepseek/deepseek-v4-pro,hermes/ollama/qwen3-coder:480bare naturally hierarchical (provider/model) but Open WebUI renders them as a single flat dropdown.Proposed Solution
Parse
/separators in model IDs to create grouped/nested dropdown:Or alternatively, group models by
owned_byfield from/v1/modelsresponse:Could show as sections in the dropdown with provider headers.
Use Case
Hermes Agent exposes 47 models across 4 providers. Users need to quickly switch between models from different providers. A flat list is unusable at this scale.
References
hermes/{provider}/{model}format/v1/modelsalready returnsowned_byfield which could be used for grouping@Classic298 commented on GitHub (Apr 29, 2026):
You can use provider prefixes for that