Setup
COPILOT_PROVIDER_TYPE also accepts anthropic for the Anthropic Messages format — both work against Opper’s gateway, which serves each surface from the same base URL. Run copilot help providers for the full reference.
GitHub documents
COPILOT_PROVIDER_BASE_URL and COPILOT_MODEL as the required pair; the type and key variables are what point it at Opper specifically. GitHub’s own BYOK docs don’t spell out whether a Copilot plan stays mandatory, so if you’re prompted to sign in on a managed or enterprise-provisioned install, that’s your org’s policy rather than the gateway.Choosing a model
SetCOPILOT_MODEL to any model ID from the catalog. Copilot CLI needs tool calling and streaming — pick a model the catalog marks with the tools capability.
Troubleshooting
It still asks me to sign in to GitHub
It still asks me to sign in to GitHub
The provider variables have to be set before
copilot starts, in the same shell. Check COPILOT_PROVIDER_BASE_URL and COPILOT_MODEL first — GitHub treats those two as required — then confirm COPILOT_PROVIDER_TYPE and COPILOT_PROVIDER_API_KEY are exported too.404 Model Not Found
404 Model Not Found
Copy the model ID exactly from the catalog, including the provider prefix.
Tool calls fail or hang
Tool calls fail or hang
The model needs tool-calling support. Check the model is marked with the
tools capability in the catalog and switch if not.Related
GitHub Copilot in VS Code
Copilot Chat and agent mode, via the Opper VS Code extension.
All integrations
Every app that runs on Opper.