Skip to content

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

Closed
anduimagui wants to merge 4 commits into
anomalyco:devfrom
anduimagui:feat/app-favorite-model-cycle
Closed

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

Conversation

@anduimagui
Copy link
Copy Markdown

@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
Copy Markdown
Contributor

github-actions Bot commented Mar 7, 2026

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

@rekram1-node
Copy link
Copy Markdown
Collaborator

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

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.

2 participants