chore: remove deprecated copilot-proxy extension; add github-copilot-token helper; adjust default config candidates; update docs
This commit is contained in:
1 parent
2719e7b626
commit
1f7e1ca5d5
9 files changed
+89
-224
No files matched your search
@@ -11,22 +11,10 @@ read_when:
|
||||
|
||||
GitHub Copilot is GitHub's AI coding assistant. It provides access to Copilot
|
||||
models for your GitHub account and plan. OpenClaw can use Copilot as a model
|
||||
provider in two different ways.
|
||||
|
||||
## Two ways to use Copilot in OpenClaw
|
||||
|
||||
### 1) Device flow (recommended)
|
||||
|
||||
Use the native GitHub device-login flow to obtain a GitHub token, then exchange
|
||||
it for Copilot API tokens when OpenClaw runs. This is the **default** and
|
||||
simplest path because it does not require VS Code.
|
||||
|
||||
### 2) Copilot Proxy plugin (`copilot-proxy`)
|
||||
|
||||
Use the **Copilot Proxy** VS Code extension as a local bridge. OpenClaw talks to
|
||||
the proxy’s `/v1` endpoint and uses the model list you configure there. Choose
|
||||
this when you already run Copilot Proxy in VS Code or need to route through it.
|
||||
You must enable the plugin and keep the VS Code extension running.
|
||||
provider via the official GitHub Copilot SDK. OpenClaw uses the GitHub device
|
||||
flow to obtain a GitHub token and exchanges it for Copilot API tokens at runtime.
|
||||
This is the recommended and supported path for integrating Copilot with
|
||||
OpenClaw.
|
||||
|
||||
Use GitHub Copilot as a model provider (`github-copilot`). The login command runs
|
||||
the GitHub device flow, saves an auth profile, and updates your config to use
|
||||
|
||||
Reference in new issue
Block a user