docs: Update Copilot documentation

This commit is contained in:
Paul Gauthier 2025-03-28 19:21:30 -10:00 committed by Paul Gauthier (aider)
parent 19a5e5bb00
commit 2540d28b34

View file

@ -8,28 +8,17 @@ nav_order: 570
Aider can connect to models provided by Github Copilot.
You will need to have a Github Copilot subscription.
To use Github Copilot models with Aider, you need to specify the model using the `github_copilot/` prefix.
To use Github Copilot models with aider, you need to specify the model using the `github_copilot/` prefix.
```bash
aider --model github_copilot/claude-3.7-sonnet-thought
```
{: .tip }
> If you have not authenticated with Github Copilot before, the first time you run Aider with the `github_copilot` model, you will be prompted to authenticate with Github Copilot using device code authentication. Follow the instructions in the terminal to authenticate.
> If you have not authenticated with Github Copilot before, the first time you run aider with the `github_copilot` model, you will be prompted to authenticate with Github Copilot using device code authentication. Follow the instructions in the terminal to authenticate.
## Available Models
To see the models available via Github Copilot, run:
```bash
aider --list-models github_copilot/
```
Make sure you have access to these models through your Github Copilot subscription before attempting to use them with Aider.
# More info
For more information on Github Copilot, refer to the [official Github Copilot documentation](https://docs.github.com/en/copilot).
Also, see the
[litellm docs on Github Copilot](https://litellm.vercel.app/docs/providers/github_copilot).