feat: sorting the models by size at model selection #3582

Closed
opened 2025-11-11 15:34:18 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jason19970210 on GitHub (Feb 5, 2025).

Feature Request

Once there are many of models link from different ollama endpoints, the select section just shows the models without sorting.

I am wondering to have the models result be sorted according to their size, such as 8b will go before 7b models as well.
And of course, the user config default model must be put at the first index in the scroll bar.

Current Output

1. deepseek-r1:7b 7.6B
2. deepseek-coder-v2:latest 15.7B

Expect Output

1. deepseek-coder-v2:latest 15.7B
2. deepseek-r1:7b 7.6B

Thanks a lot.

Originally created by @jason19970210 on GitHub (Feb 5, 2025). # Feature Request Once there are many of models link from different ollama endpoints, the select section just shows the models without sorting. I am wondering to have the models result be **sorted** according to their size, such as 8b will go before 7b models as well. And of course, the user config **default** model must be put at the first index in the scroll bar. ## Current Output ``` 1. deepseek-r1:7b 7.6B 2. deepseek-coder-v2:latest 15.7B ``` ## Expect Output ``` 1. deepseek-coder-v2:latest 15.7B 2. deepseek-r1:7b 7.6B ``` Thanks a lot.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3582