Skip to content

feat(app): add global favourite / toggle models functionality#16500

Open
anduimagui wants to merge 4 commits intoanomalyco:devfrom
anduimagui:feat/app-favorite-model-cycle
Open

feat(app): add global favourite / toggle models functionality#16500
anduimagui wants to merge 4 commits intoanomalyco:devfrom
anduimagui:feat/app-favorite-model-cycle

Conversation

@anduimagui
Copy link
Contributor

@anduimagui anduimagui commented Mar 7, 2026

Issue for this PR

Closes #

Type of change

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

What does this PR do?

This adds two related model-switching improvements in the app.

First, users can mark models as favorites directly in both model picker dialogs. Those favorites are persisted and can be cycled from the session commands.

Second, Settings > Models now includes a Quick Switch section where users choose two enabled models explicitly. The quick switch commands then toggle between that configured pair, and there is also a command to open the Quick Switch settings directly.

These changes work because model preferences are now persisted in the app model state, the quick-switch pair is validated against enabled models, and the session commands resolve the current selection against that stored configuration.

How did you verify your code works?

  • bun run --cwd packages/app typecheck
  • bun run --cwd packages/app test

Screenshots / recordings

Not included.

Checklist

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

@anduimagui anduimagui requested a review from adamdotdevin as a code owner March 7, 2026 17:15
@github-actions github-actions bot added the needs:compliance This means the issue will auto-close after 2 hours. label Mar 7, 2026
@anduimagui anduimagui changed the title feat(app): add quick switch model pair feat(app): add global favourite / toggle models functionality Mar 7, 2026
@github-actions github-actions bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Mar 7, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

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

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