Skip to content

Confusing/inconsistent recent models UX #5533

Closed as not planned
Closed as not planned

Description

@ariane-emory

Description

Presently, opencode stores (and cycles between, with the model_cycle_recent/model_cycle_recent_reverse commands) 10 recent models, but the list displayed in /models only shows 5. This is a confusing and inconsistent UX: if I look at /models and only see a certain 5 models, it's surprising to see additional models in the cycle when I use the model_cycle_recent/model_cycle_recent_reverse commands.

Ideally, we should add a tui.recent_models_count setting to allow the user to configured the number of recent models that are stored/displayed. We don't want to change the logic behind which models are stored/displayed, we only want to change how many.

OpenCode version

1.0.152

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 14, 2025
  2. github-actions commented on Dec 14, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if these don't address your specific case.

  3. self-assigned this
    on Dec 14, 2025
  4. added a commit that references this issue on Dec 14, 2025
    1f128eb
  5. agopalareddy commented on Feb 25, 2026

    @agopalareddy

    Hey! I'm working on a fix for #3874 (models disappearing from provider sections when in Recents/Favorites) which touches the same dialog-model.tsx file. Would it make sense for me to include a configurable recent_models_count setting in the same PR while I'm already in there? Happy to keep them separate if you'd prefer to handle #5533 independently.

  6. Cufoon commented on Apr 8, 2026

    @Cufoon

    Hope this gets sorted out soon.

  7. DocMinus commented on Apr 24, 2026

    @DocMinus

    Hope this gets sorted out soon.

    I hope so too. I find it annoying that the recent list shows models that aren't recent ones. some of the above cited issues are unfortunately closed and not resolved?

  8. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  9. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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