Skip to content

Fix incomplete model list on duplicates - #79

Open
Som-anon wants to merge 2 commits into
Rose22:mainfrom
Som-anon:main
Open

Fix incomplete model list on duplicates#79
Som-anon wants to merge 2 commits into
Rose22:mainfrom
Som-anon:main

Conversation

@Som-anon

Copy link
Copy Markdown

Prevent duplicates in the model list.
The webui has problems rendering model lists if there are duplicates.
Could also filter in js, but I think python is more efficient/clean

Prevent duplicates in the model list.
The webui has problems rendering model lists if there are duplicates
@Som-anon

Copy link
Copy Markdown
Author

For reference:
I use llama-swap and merged a few models together. Had an alias that created a duplicate entry.
Shouldn't happen for most users, but good to not trip over nonetheless

@Som-anon Som-anon changed the title Update webui.py Fix incomplete model list on duplicates Aug 13, 2026
Forgot to add sort so that the list has an actual order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant