Skip to content

Favorite Models List #541

Closed
Closed

Description

@timoclsn

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

Activity

  1. thdxr commented on Jun 29, 2025

    @thdxr
    Member

    @adamdotdevin having a single list sorted by last used would fix this

  2. adamdotdevin commented on Jun 29, 2025

    @adamdotdevin
    Member

    yeah, @timoclsn, dax and i had worked out an ideal form of the model dialog:

    • do away with provider navigation and just list all available models, sorted by last used date and then release date desc (newly added to models.dev)
    • for each model we render model name (default text color) and provider name (muted text color)
    • as you use models, they end up at the top of the list (last used date sort)

    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?

  3. timoclsn commented on Jun 30, 2025

    @timoclsn
    ContributorAuthor

    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.

  4. adamdotdevin commented on Jun 30, 2025

    @adamdotdevin
    Member

    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.

  5. timoclsn commented on Jun 30, 2025

    @timoclsn
    ContributorAuthor

    See #563 for a first prototype 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions