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. |
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