Skip to content

/models command does not list authenticated Copilot models that can be used with -m #10454

Closed

Description

@JValdivia23

Problem

When using OpenCode with a Copilot Pro subscription, the model github-copilot/claude-opus-4.5 can be set and works with the -m argument or in JSON config, but does not appear when running /models, even though it is visible and enabled in my Copilot settings and is accessible for actual use.

Expected

  • Any Copilot models that are authenticated, active in the user's Copilot settings, and usable with -m or via config should appear in the output of /models

Actual

  • Copilot models like github-copilot/claude-opus-4.5 do not show up in /models output, misleading users into thinking they are not available
  • This is confusing because the model works fine if referenced explicitly

Steps to Reproduce

  1. Have a Copilot subscription (with a model like Claude Opus 4.5 enabled at https://github.com/settings/copilot/features)
  2. Authenticate via /connect for GitHub Copilot in OpenCode
  3. Run /models in OpenCode -- github-copilot/claude-opus-4.5 is not shown
  4. Run opencode -m github-copilot/claude-opus-4.5: model works

Additional Info

  • The codebase sets autoload: false for Copilot provider, so Provider.list() may filter Copilot
  • This seems like a logic/UX bug: if a provider/model is authenticated and usable, it should be discoverable via /models.
  • The problem started since I instaled Oh-my-Opencode. Now I cannot revert the problem.

Suggestion

  • /models should detect and display any Copilot models that can actually be used with current authentication/context.
  • At minimum, clarify or add diagnostics if a model is hidden but available when referenced explicitly.
  • Optional: Add a hint to /models output if special config is needed to make Copilot models visible.

Activity

  1. github-actions commented on Jan 24, 2026

    @github-actions
    Contributor

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

    These issues relate to models not being properly displayed or available in the models list when using GitHub Copilot as a provider, which seems closely related to your report about authenticated models not showing up in the /models command output.

    Feel free to ignore if none of these address your specific case.

  2. github-actions commented on Mar 27, 2026

    @github-actions
    Contributor

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

  3. fatih-onventis commented on Jul 20, 2026

    @fatih-onventis

    Showing disabled models not a good UX. Users need to cross-check with the copilot cli or github settings to find out which models are enabled otherwise you get error message after your first prompt. Not all models are enabled for most of the organizations.

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