Merge branch 'main' into register_settings

This commit is contained in:
paul-gauthier 2024-06-21 16:57:33 -07:00 committed by GitHub
commit b6fa02044f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 1973 additions and 238 deletions

View file

@ -22,7 +22,7 @@ setx ANTHROPIC_API_KEY <key> # Windows
# Claude 3 Opus
aider --opus
# Claude 3 Sonnet
# Claude 3.5 Sonnet
aider --sonnet
# List models available from Anthropic

View file

@ -25,3 +25,6 @@ aider --model azure/<your_deployment_name>
# List models available from Azure
aider --models azure/
```
Note that aider will also use environment variables
like `AZURE_OPENAI_API_xxx`.

View file

@ -3,10 +3,11 @@ parent: Connecting to LLMs
nav_order: 500
---
# Deepseek
# DeepSeek
Aider can connect to the Deepseek.com API.
Deepseek appears to grant 5M tokens of free API usage to new accounts.
Aider can connect to the DeepSeek.com API.
The DeepSeek Coder V2 model gets the top score on aider's code editing benchmark.
DeepSeek appears to grant 5M tokens of free API usage to new accounts.
```
pip install aider-chat
@ -14,8 +15,8 @@ pip install aider-chat
export DEEPSEEK_API_KEY=<key> # Mac/Linux
setx DEEPSEEK_API_KEY <key> # Windows
# Use Deepseek Chat v2
aider --model deepseek/deepseek-chat
# Use DeepSeek Coder V2
aider --model deepseek/deepseek-coder
```
See the [model warnings](warnings.html)