webui: Deduplicate model aliases in data + handle single/multiple aliases in UI#22979
Merged
allozaur merged 2 commits intoMay 13, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the model ID display in the web UI to deduplicate aliases/tags and to present a different layout when there is exactly one alias (alias becomes the display name).
Changes:
- Deduplicate
aliasesand combinedtagsviaSet. - Introduce “primary alias” behavior: if exactly one alias exists, use it as the display name and show the raw model name as a badge.
- Render multiple aliases as badges; render deduplicated tags as badges.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ServeurpersoCom
approved these changes
May 12, 2026
Contributor
ServeurpersoCom
left a comment
There was a problem hiding this comment.
Quick question on Copilot's #2: was switching aliases from badgeClass to tagBadgeClass intentional (visual unification with tags) ?
Also a tiny nit: when primaryAlias === parsed.modelName, the badge would duplicate the display name. Rare in practice!
781ddc5 to
8643f7b
Compare
Contributor
Author
ggerganov
approved these changes
May 13, 2026
8643f7b to
826ab6f
Compare
ServeurpersoCom
approved these changes
May 13, 2026
xxmustafacooTR
pushed a commit
to xxPlayground/llama-cpp-turboquant
that referenced
this pull request
May 13, 2026
…ases in UI (ggml-org#22979) * fix: Deduplicate aliases + display single alias instead of default name or 2+ aliases as tags * refactor: Address review comments
rsenthilkumar6
pushed a commit
to rsenthilkumar6/llama.cpp
that referenced
this pull request
May 19, 2026
…ases in UI (ggml-org#22979) * fix: Deduplicate aliases + display single alias instead of default name or 2+ aliases as tags * refactor: Address review comments
ArberSephirotheca
pushed a commit
to ArberSephirotheca/llama.cpp
that referenced
this pull request
May 19, 2026
…ases in UI (ggml-org#22979) * fix: Deduplicate aliases + display single alias instead of default name or 2+ aliases as tags * refactor: Address review comments
baramofme
pushed a commit
to baramofme/llama-cpp-turboquant
that referenced
this pull request
May 23, 2026
…ases in UI (ggml-org#22979) * fix: Deduplicate aliases + display single alias instead of default name or 2+ aliases as tags * refactor: Address review comments
winstonma
pushed a commit
to winstonma/llama.cpp
that referenced
this pull request
May 27, 2026
…ases in UI (ggml-org#22979) * fix: Deduplicate aliases + display single alias instead of default name or 2+ aliases as tags * refactor: Address review comments
fewtarius
pushed a commit
to fewtarius/llama.cpp
that referenced
this pull request
May 30, 2026
…ases in UI (ggml-org#22979) * fix: Deduplicate aliases + display single alias instead of default name or 2+ aliases as tags * refactor: Address review comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Close #22510
Requirements