Azure Foundry on Github Copilot/CLI on VSCODE? #195493
Replies: 2 comments
-
|
What you have configured there just works for the Copilot Cli / agent, it is not automatically configured for the official github copilot extension, I reccomend you to install an extension which let you use custom providers for example continue.dev, just go to the marketplace and search continue, and then configure as you like, there are more other options like Cline or roo code, but I didn't try them. Once you installed continue, go to the config file and configure |
Beta Was this translation helpful? Give feedback.
-
|
Currently, those environment variables only work for the Copilot CLI / unofficial OpenAI-compatible flows because they override the provider endpoint manually. For VS Code GitHub Copilot extension, Microsoft does not officially support custom Azure OpenAI endpoints yet. The extension is tightly connected to GitHub’s own backend/auth flow, so you can’t directly point it to:
inside the normal Copilot extension settings. What you can doOption 1 — Use Copilot CLI (works)What you already configured in
After exporting the vars:
you can run:
or related CLI commands using your Azure endpoint. Option 2 — Use VS Code with another extensionInstead of the official GitHub Copilot extension, use extensions that support custom OpenAI/Azure providers, for example:
These usually allow:
directly in settings. Example config (varies by extension):
Option 3 — Build/Open a proxySome people create an OpenAI-compatible proxy server and route VS Code AI extensions through it, but this is more advanced. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
VS Code
Body
I know how to use the Azure Foundry on Copilot CLI by adding these on
.zshrcbut how can I use it on VSCODE? on Copilot ext,. CLI/GUI? because i don't know how..
Beta Was this translation helpful? Give feedback.
All reactions