Skip to main content

Module github_copilot

Module github_copilot 

Source
Expand description

GitHub Copilot OAuth provider — matching pi’s github-copilot.ts exactly.

Uses the device code flow (RFC 8628) to authenticate with GitHub. After login, fetches available models and enables them.

Structs§

GitHubCopilotOAuth

Functions§

get_copilot_base_url
Get the GitHub Copilot API base URL.
normalize_domain