Feature/favorite models#21530
Conversation
Favorites are displayed in a separate section at the top of the list. Clicking the star icon toggles the favorite status.
Add "dialog.model.group.favorites" to all 16 languages. > Translations verified with Google Translate.
DialogManageModels is rendered via dialog.show() which places it outside the LocalProvider context tree, causing "Local context must be used within a context provider" error when using useLocal(). Changed to use useModels() directly, which provides the same methods (list, visible, setVisibility) and is available in the dialog context.
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on the search results, here are the potentially related PRs to PR #21530 (Feature/favorite models): Potential Related PRs:
These PRs appear to be related to the same feature domain (favorites/model selection), though PR #21530 is the primary implementation. You may want to verify whether any of these older PRs are still pending or if they address the same issue (#12289). |
|
I’m not entirely confident that this PR will be merged. Over time, additional changes may introduce merge conflicts, which could further reduce its chances of being accepted. As a result, I’ve decided to maintain my own fork of opencode. This message is for anyone interested in trying out these features—you can visit my fork and refer to the “Notes” section in the README.md for detailed guidance. The setup process is straightforward and easy to follow. |
|
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:
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. |
Issue for this PR
Closes #12289
Related issue (pending for some time):
#19935
#3874
#19935
Type of change
What does this PR do?
This PR adds the ability to mark models as favorites with star icons in the model selection dialog.
How did you verify your code works?
Screenshots / recordings
Checklist