Skip to content

feat: add native support for GitHub Copilot ghu_ tokens#1341

Open
emanavas wants to merge 1 commit intoagent0ai:mainfrom
emanavas:feat/github-copilot-native-support
Open

feat: add native support for GitHub Copilot ghu_ tokens#1341
emanavas wants to merge 1 commit intoagent0ai:mainfrom
emanavas:feat/github-copilot-native-support

Conversation

@emanavas
Copy link
Copy Markdown

This commit adds the 'github_copilot' provider to model_providers.yaml with mandatory IDE identity headers (Editor-Version and Copilot-Integration-Id).

SOLVES:

  • Enables usage of 'ghu_' user tokens (Copilot Chat).
  • Fixes AuthenticationError in enterprise environments where GitHub Models Marketplace is restricted.
  • Automatically initiates OAuth device flow.

This commit adds the 'github_copilot' provider to model_providers.yaml with mandatory IDE identity headers (Editor-Version and Copilot-Integration-Id).

SOLVES:
- Enables usage of 'ghu_' user tokens (Copilot Chat).
- Fixes AuthenticationError in enterprise environments where GitHub Models Marketplace is restricted.
- Automatically initiates OAuth device flow.

Signed-off-by: emanavas <emanavas@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant