Skip to content

GitHub Copilot models not appearing in /models after successful OAuth authentication #38812

Closed as not planned

Description

@lorenzoch2

Description

Description:

OS: Windows 11 (PowerShell)
OpenCode version: v1.18.5 (latest)
Steps to reproduce:

Run /connect in the TUI
Select "GitHub Copilot" and complete the device flow at github.com/login/device
Authentication succeeds — auth.json stores the OAuth token correctly
Run /models — only big-pickle appears, no copilot models listed
Tried re-authenticating, clearing auth.json, clearing models.json cache — same result
What I expected: Copilot models (e.g., copilot/claude-sonnet-4.6, copilot/gpt-5.3-codex) should appear in /models after authentication.

What happened: No copilot models appear in the model picker. Also tried setting "model": "copilot/claude-sonnet-4.6" directly in opencode.jsonc but it doesn't work (provider doesn't seem to initialize).

Evidence:

~/.local/share/opencode/auth.json contains valid OAuth token for github-copilot
~/.cache/opencode/models.json lists 27 copilot models under github-copilot key
The provider simply doesn't surface in the TUI
Additional context: GitHub Copilot subscription is active (Pro/Pro+). Authentication flow completes without errors. The issue appears to be that the copilot provider doesn't initialize or register in the TUI despite having valid credentials and model data.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jul 25, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from the above, please add details clarifying the difference.

  2. SandeepKumarKuanar commented on Aug 1, 2026

    @SandeepKumarKuanar

    this same works for me even, I use Pop!_OS.

  3. github-actions commented on Oct 2, 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