Problem:
LLM providers during netclaw init for Github/copilot currently only supports Github device login flow and not GHE / Enterprise endpoints:
Motivation: Some enterprise users are restricted to GHE for AI access.
Proposed Solution:
Add an env option to use GHE (default: github.com).
Environment support for copilot cli - the defaults for GHE could be mirrored:
GHE_HOST=my-company-tenant.ghe.com
GH_HOST=my-company-tenant.ghe.com
COPILOT_GH_HOST=my-company-tenant.ghe.com
GITHUB_SERVER_URL=https://my-company-tenant.ghe.com
GITHUB_API_URL=https://api.my-company-tenant.ghe.com
Example gh login for GHE:
gh auth login --hostname **my-company-tenant**.ghe.com
which will use the device browser login:
https://**my-company-tenant**.ghe.com/login/device
Problem:
LLM providers during
netclaw initfor Github/copilot currently only supports Github device login flow and not GHE / Enterprise endpoints:Motivation: Some enterprise users are restricted to GHE for AI access.
Proposed Solution:
Add an env option to use GHE (default: github.com).
Environment support for copilot cli - the defaults for GHE could be mirrored:
Example gh login for GHE:
gh auth login --hostname **my-company-tenant**.ghe.comwhich will use the device browser login:
https://**my-company-tenant**.ghe.com/login/device