Skip to content

[FEATURE]: Show Metadata (e.g. Model Context Limit) while Selecting Models in Opencode CLI Menu #19411

Closed as not planned

Description

@Tao-Yida

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Description
Currently, when selecting models via Ctrl+P in the Opencode CLI, users lack visibility into the specific technical specifications of each model. Unlike the Opencode Desktop version—which clearly displays features like text/image/PDF support, reasoning capabilities, and context limits—the CLI version provides only the model names and its provider.

The Problem
The lack of metadata leads to a suboptimal user experience and technical errors. For example:

Context Mismatch: Users may switch to a model with a smaller context window within the same session, triggering errors like "exceeding model context limit after compaction".

Feature Blindness: Users cannot easily identify which models support multimodal inputs (Images/PDFs) or specialized "Reasoning" modes without referring to external documentation.

Proposed Solution
Enhance the Ctrl+P model selection menu in the CLI to include brief metadata tags or a detailed info line for the highlighted model.

Suggested UI Elements:

Context Limit: e.g., (128k)
Feature Tags: [Vision], [PDF], [Reasoning]
Visual Layout Example:

> gpt-4o-mini [Vision, PDF] 128k
o1-preview [Reasoning] 128k
claude-3-5-sonnet [Vision] 200k

Image Image

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Mar 27, 2026
  2. changed the title [-][FEATURE]: Show Information (e.g. Model Context Limit) while Selecting Models in Opencode CLI Menu[/-] [+][FEATURE]: Show Metadata (e.g. Model Context Limit) while Selecting Models in Opencode CLI Menu[/+] on Mar 27, 2026
  3. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 27, 2026
  4. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  5. github-actions commented on Jul 5, 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