feat(model-picker): group models by [category] name prefix#9235
Open
Pfannkuchensack wants to merge 2 commits into
Open
feat(model-picker): group models by [category] name prefix#9235Pfannkuchensack wants to merge 2 commits into
Pfannkuchensack wants to merge 2 commits into
Conversation
Models whose display name starts with "[category]…" are now grouped by that category in the model picker. For the main model picker this adds an inline subgroup header within each base group (FLUX, SDXL, …); for the LoRA picker (flat list) categories become the top-level groups with toggle buttons. Uncategorized models appear after the categorized ones without a header. The "[category]" prefix is hidden in the picker list and trigger button but kept intact in the underlying model name, so the Model Manager still shows the full name.
Collaborator
Author
Collaborator
Author
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.


Summary
Models whose display name starts with
[category]…are now grouped by that category in the model picker. For the main model picker this adds an inline subgroup header within each base group (FLUX, SDXL, …); for the LoRA picker (flat list) categories become the top-level groups with toggle buttons. Uncategorized models appear after the categorized ones without a header.The
[category]prefix is hidden in the picker list and trigger button but kept intact in the underlying model name, so the Model Manager still shows the full name.Example: renaming a model to
[flux]flux.1 devputs it under a "flux" subgroup inside the FLUX base group; the option itself is displayed asflux.1 dev.Related Issues / Discussions
Addresses #4592 (Model Manager — Grouping checkpoint models by category).
QA Instructions
[realistic]My Model A,[realistic]My Model B,[anime]My Model C. Leave at least one model in the same base without a prefix.realisticsubheader appears above the tworealisticmodels and ananimesubheader above the anime one.[…]prefix).realisticinto the search — only the realistic models should remain.[realistic]…) is still shown there.Uncategorizedgroup at the end if applicable.Merge Plan
No special steps. No DB / redux migrations. Touches frontend only.
Checklist
modelPickerCategory.test.tscovering the name-prefix parserWhat's Newcopy (if doing a release after this PR)