Skip to content

fix(tui): show toast when variant_list keybind used with no variants#30724

Merged
rekram1-node merged 7 commits into
anomalyco:devfrom
ariane-emory:pr/fix/variant-list-toast-no-variants
Jun 4, 2026
Merged

fix(tui): show toast when variant_list keybind used with no variants#30724
rekram1-node merged 7 commits into
anomalyco:devfrom
ariane-emory:pr/fix/variant-list-toast-no-variants

Conversation

@ariane-emory
Copy link
Copy Markdown
Contributor

@ariane-emory ariane-emory commented Jun 4, 2026

Issue for this PR

Closes #30723

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

When the key bound to variant_list is struck while a model with no with no variants is selected, instead of displaying a dialogue containing only the option "Default", it now displays an informative toast.

How did you verify your code works?

bun typecheck, bun test, manual testing.

Screenshots / recordings

Screenshot 2026-06-04 at 6 49 54 AM

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

The variant_list keybinding now displays an informative toast instead of
opening an empty dialog with only 'Default' when the current model has no
variant support.
@github-actions github-actions Bot added contributor needs:compliance This means the issue will auto-close after 2 hours. labels Jun 4, 2026
@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jun 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@ariane-emory ariane-emory marked this pull request as ready for review June 4, 2026 11:26
@rekram1-node rekram1-node merged commit cb65926 into anomalyco:dev Jun 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When the variant_list key is used with a model with no variants, a dialogue showing only the option "default" is displayed

2 participants