Open AI Endpoint BYOK Offline #1582
Unanswered
configmanCooper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
EDIT: IT Appears that the GUI copilot doesnt support offline mode that the github copilot cli does, there is no way to bypass github authnetication. Can this be changed?
I have an open AI endpoint in a closed environment, no internet access
Desktop app wont let move forward without signing into github
How do I set this up?
In github cli it appears you do this:
$env:COPILOT_OFFLINE = "true" # no GitHub, no telemetry, no web/GitHub MCP, no auto-update
$env:COPILOT_PROVIDER_TYPE = "azure" # MUST be "azure" for AOAI (not "openai")
$env:COPILOT_PROVIDER_BASE_URL = "https://.openai.azure.us" # HOST ONLY — SDK builds the path
$env:COPILOT_PROVIDER_API_KEY = "" # or COPILOT_PROVIDER_BEARER_TOKEN= (takes precedence)
$env:COPILOT_PROVIDER_MODEL_ID = "gpt-4o" # well-known base → gives correct tool support/token limits
$env:COPILOT_PROVIDER_WIRE_MODEL= "" # your Azure deployment name
GPT-5 series only: $env:COPILOT_PROVIDER_WIRE_API = "responses"
legacy route only: $env:COPILOT_PROVIDER_AZURE_API_VERSION = "2024-10-21"
copilot
Beta Was this translation helpful? Give feedback.
All reactions