[FEATURE]: Add Github Copilot EU (ghe.com) #8520

Closed
opened 2026-02-16 18:10:10 -05:00 by yindo · 2 comments
Owner

Originally created by @lzandman on GitHub (Feb 4, 2026).

Originally assigned to: @thdxr on GitHub.

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

OpenCode seems to only support the regular Github Copilot. Our org recently migrated to Github EU instance (EU Data Residency). This instance has a different sign-in URL ( https://<org>.ghe.com/enterprises/<org> ) and a different Completions endpoint (i.e. https://copilot-api.<org>.ghe.com/chat/completions. Would be great if OpenCode supported that.

Originally created by @lzandman on GitHub (Feb 4, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request OpenCode seems to only support the regular Github Copilot. Our org recently migrated to Github EU instance (EU Data Residency). This instance has a different sign-in URL ( `https://<org>.ghe.com/enterprises/<org>` ) and a different Completions endpoint (i.e. `https://copilot-api.<org>.ghe.com/chat/completions`. Would be great if OpenCode supported that.
yindo added the discussion label 2026-02-16 18:10:10 -05:00
yindo closed this issue 2026-02-16 18:10:11 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 4, 2026):

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

  • #355: enhancement: support ghe.com copilot auth (closed, but directly related to your EU GHE.com request)
  • #3936: Github Enterprise authorization (open issue with GHE authentication problems)
  • #11105: Anthropic models fail with 404 on GitHub Enterprise (GHE.com) (open issue highlighting GHE endpoint incompatibilities)
  • #10612: The OAuth App CLIENT_ID for GitHub Enterprise (GHE) is best to be customizable (open issue about GHE-specific OAuth configuration)

These issues highlight the existing challenges with GitHub Enterprise support, particularly around different endpoints and OAuth configuration. Your feature request specifically addresses EU GHE instances which may be related to these ongoing GHE compatibility efforts.

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

@github-actions[bot] commented on GitHub (Feb 4, 2026): This issue might be a duplicate of existing issues. Please check: - #355: enhancement: support ghe.com copilot auth (closed, but directly related to your EU GHE.com request) - #3936: Github Enterprise authorization (open issue with GHE authentication problems) - #11105: Anthropic models fail with 404 on GitHub Enterprise (GHE.com) (open issue highlighting GHE endpoint incompatibilities) - #10612: The OAuth App CLIENT_ID for GitHub Enterprise (GHE) is best to be customizable (open issue about GHE-specific OAuth configuration) These issues highlight the existing challenges with GitHub Enterprise support, particularly around different endpoints and OAuth configuration. Your feature request specifically addresses EU GHE instances which may be related to these ongoing GHE compatibility efforts. Feel free to ignore if none of these address your specific case.
Author
Owner

@lzandman commented on GitHub (Feb 4, 2026):

I now see this is a duplicate and work for fixing this seems underway. Will close this one...

@lzandman commented on GitHub (Feb 4, 2026): I now see this is a duplicate and work for fixing this seems underway. Will close this one...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8520