Skip to content

fix: always show variant selector when model supports reasoning effort (fixes #742)#794

Open
MrRealORG wants to merge 1 commit into
XiaomiMiMo:mainfrom
MrRealORG:fix/auto-0616-variant-selector
Open

fix: always show variant selector when model supports reasoning effort (fixes #742)#794
MrRealORG wants to merge 1 commit into
XiaomiMiMo:mainfrom
MrRealORG:fix/auto-0616-variant-selector

Conversation

@MrRealORG

Copy link
Copy Markdown

Fixes #742. When selecting a model with reasoning effort variants from the Recent group in /model, the variant selector was skipped because the current variant was already valid. Remove the early-return condition and always show the variant selector when the model has available variants.

fixes XiaomiMiMo#742)

When a model with reasoning effort variants (e.g. mimo-v2.5-pro) is
selected from the 'Recent' group in /model, the variant selector
was skipped because the current variant was already valid. This made
it impossible to change reasoning effort without manually editing
the config file.

The previous logic checked if the current variant was 'default' or
already in the variant list, and if so, skipped the selector. This
was intended to avoid the selector when switching to a model that
doesn't need variant selection, but it also prevented users from
changing their variant when re-selecting the same model.

Fix: always show the variant selector when the model has available
variants, regardless of the current selection. The 'Default' option
in the variant selector allows users to keep their current setting.
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.

[BUG] /model cannot change reasoning effort when selecting a MiMo model from Recent

1 participant