You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love the multi-model and provider nature of opencode because I like to use different models for different use cases (planning/architecting, implementing, etc.).
To make that switching easier, I would like to have the possibility to define favorite models (across providers) and to switch between them quickly:
Define a "favoriteModels" list in my config
Display my favorite models list as the first "page" in the models dialog
I like the current multipage nature of the models picker because the models list can get quite long when you have a lot of providers configured.
But I understand where you are probably coming from. With one list and the most recent on the top, it works out of the box without needing to configure anything 😍.
I'll take a shot at it, but it will need a thorough code review as I've never written any Go before.
yeah, i think if we also sort by release date desc its going to be a pretty nice experience up front even, lots of providers or not. should have the models that matter at the top from the start.
Activity
thdxr commentedon Jun 29, 2025
@adamdotdevin having a single list sorted by last used would fix this
adamdotdevin commentedon Jun 29, 2025
yeah, @timoclsn, dax and i had worked out an ideal form of the model dialog:
i get that this is a bit more involved than the work you had done for favorite models, but are you up to taking this on?
timoclsn commentedon Jun 30, 2025
I like the current multipage nature of the models picker because the models list can get quite long when you have a lot of providers configured.
But I understand where you are probably coming from. With one list and the most recent on the top, it works out of the box without needing to configure anything 😍.
I'll take a shot at it, but it will need a thorough code review as I've never written any Go before.
adamdotdevin commentedon Jun 30, 2025
yeah, i think if we also sort by release date desc its going to be a pretty nice experience up front even, lots of providers or not. should have the models that matter at the top from the start.
timoclsn commentedon Jun 30, 2025
See #563 for a first prototype 😊