You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(copilot): use GH_HOST for Copilot endpoints and token lookup
Update Copilot HTTP requests and token lookup to respect the `GH_HOST` env var, allowing use with
GitHub Enterprise instances.
Some networks block the `github.com` endpoints, so they won't work at all. Provide a way for the
user to hit different endpoint other than `github.com` (e.g. mycorp.ghe.com) without patching the
source code.
The `GH_HOST` environment variable is the same one used to override this for `gh` cli:
https://cli.github.com/manual/gh_help_environment
0 commit comments