GitHub Copilot provider lists unavailable models instead of org-enabled ones #4391

Open
opened 2026-02-16 17:43:39 -05:00 by yindo · 1 comment
Owner

Originally created by @amaduswaray on GitHub (Jan 7, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description
When using GitHub Copilot as the model provider, OpenCode lists all models exposed by Copilot, rather than only the models that are enabled for the current organization.

As a result, the UI shows models that cannot actually be used by the user.

Problem
There is currently no way to know whether a selected model is available until a request is made. If the model is not enabled for the organization, the request fails at runtime.

This makes it difficult to:

  • Know which models are usable
  • Understand organization-level Copilot restrictions
Originally created by @amaduswaray on GitHub (Jan 7, 2026). Originally assigned to: @rekram1-node on GitHub. **Description** When using GitHub Copilot as the model provider, OpenCode lists all models exposed by Copilot, rather than only the models that are enabled for the current organization. As a result, the UI shows models that cannot actually be used by the user. **Problem** There is currently no way to know whether a selected model is available until a request is made. If the model is not enabled for the organization, the request fails at runtime. This makes it difficult to: - Know which models are usable - Understand organization-level Copilot restrictions
Author
Owner

@github-actions[bot] commented on GitHub (Jan 7, 2026):

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

  • #7247: Claude Opus 4.5 temporarily unavailable due to GitHub Copilot incident - discusses models not appearing in Copilot
  • #2966: AI_APICallError with organization-level settings that restrict model availability

While these issues discuss model unavailability, they appear to address different root causes. Your issue (#7256) specifically focuses on OpenCode listing all available Copilot models rather than filtering for organization-enabled ones. Feel free to ignore if these don't match your specific case.

@github-actions[bot] commented on GitHub (Jan 7, 2026): This issue might be a duplicate of or related to existing issues. Please check: - #7247: Claude Opus 4.5 temporarily unavailable due to GitHub Copilot incident - discusses models not appearing in Copilot - #2966: AI_APICallError with organization-level settings that restrict model availability While these issues discuss model unavailability, they appear to address different root causes. Your issue (#7256) specifically focuses on OpenCode listing all available Copilot models rather than filtering for organization-enabled ones. Feel free to ignore if these don't match your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4391