anomalyco / anomalyco/opencode

[FEATURE]: /models should keep showing all models under each provider, instead of moving recent ones into a Recents section

Open
#49,141 1 comment 0 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Sep 15, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

When opening the /models dialog in the TUI, recently used models disappear from their provider's list and are shown only in the separate "Recent" section at the top.

This is confusing: I expect the model list for a provider to be stable and complete — every model I have access to should always be listed under its provider. Right now the provider column looks "emptier" than it actually is, and I have to remember/check the Recent section to find the model I was just using. The behavior actively works against muscle memory: the same model lives in different places depending on usage history.

Proposed behavior:

  • Keep all available models listed under their provider in the /models dialog, as before.
  • Either remove the "Recent" section entirely, or (better, IMO) keep it as a purely additive shortcut without removing those models from their provider grouping.

Related implementation note: the sections are built in packages/tui/src/component/dialog-model.tsx (favorites + recents are currently excluded from the provider lists), so making recents additive would be a small change there.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.