updated docs to use deepseek/ prefix

This commit is contained in:
Paul Gauthier 2024-05-08 08:40:28 -07:00
parent 44024c001d
commit b0a512770b
2 changed files with 10 additions and 14 deletions

View file

@ -56,7 +56,7 @@
indentation_errors: 0 indentation_errors: 0
exhausted_context_windows: 0 exhausted_context_windows: 0
test_timeouts: 2 test_timeouts: 2
command: aider --model openai/deepseek-coder command: aider --model deepseek/deepseek-coder
date: 2024-04-29 date: 2024-04-29
versions: 0.30.2-dev versions: 0.30.2-dev
seconds_per_case: 26.7 seconds_per_case: 26.7
@ -329,7 +329,7 @@
indentation_errors: 2 indentation_errors: 2
exhausted_context_windows: 0 exhausted_context_windows: 0
test_timeouts: 1 test_timeouts: 1
command: aider --model openai/deepseek-chat --edit-format whole command: aider --model deepseek/deepseek-chat --edit-format whole
date: 2024-05-07 date: 2024-05-07
versions: 0.31.2-dev versions: 0.31.2-dev
seconds_per_case: 42.4 seconds_per_case: 42.4
@ -350,7 +350,7 @@
indentation_errors: 0 indentation_errors: 0
exhausted_context_windows: 0 exhausted_context_windows: 0
test_timeouts: 4 test_timeouts: 4
command: aider --model openai/deepseek-chat command: aider --model deepseek/deepseek-chat
date: 2024-05-07 date: 2024-05-07
versions: 0.31.2-dev versions: 0.31.2-dev
seconds_per_case: 53.8 seconds_per_case: 53.8

View file

@ -15,7 +15,7 @@ Aider works with a number of **free** API providers:
- Google's [Gemini 1.5 Pro](#gemini) is the most capable free model to use with aider, with - Google's [Gemini 1.5 Pro](#gemini) is the most capable free model to use with aider, with
code editing capabilities similar to GPT-3.5. code editing capabilities similar to GPT-3.5.
- You can use [Llama 3 70B on Groq](#groq) which is comparable to GPT-3.5 in code editing performance. - You can use [Llama 3 70B on Groq](#groq) which is comparable to GPT-3.5 in code editing performance.
- The [Deepseek Chat v2](#deepseek) model work well with aider, better than GPT-3.5. Deepseek.com currently offers 5M free tokens of API usage. - The [Deepseek Chat v2](#deepseek) model work well with aider, better than GPT-3.5. Deepseek currently offers 5M free tokens of API usage.
- Cohere also offers free API access to their [Command-R+ model](#cohere), which works with aider as a *very basic* coding assistant. - Cohere also offers free API access to their [Command-R+ model](#cohere), which works with aider as a *very basic* coding assistant.
## Local models ## Local models
@ -280,21 +280,17 @@ when working with models that aider is not familiar with.
## Deepseek ## Deepseek
Aider can connect to the Deepseek API, which is OpenAI compatible. Aider can connect to the Deepseek.com API.
They appear to grant 5M tokens of free API usage to new accounts. Deepseek appears to grant 5M tokens of free API usage to new accounts.
``` ```
pip install aider-chat pip install aider-chat
# Mac/Linux: export DEEPSEEK_API_KEY=<key> # Mac/Linux
export OPENAI_API_KEY=<key> setx DEEPSEEK_API_KEY <key> # Windows
export OPENAI_API_BASE=https://api.deepseek.com/v1
# Windows: # Use Deepseek Chat v2
setx OPENAI_API_KEY <key> aider --model deepseek/deepseek-chat
setx OPENAI_API_BASE https://api.deepseek.com/v1
aider --model openai/deepseek-chat
``` ```
See the [model warnings](#model-warnings) See the [model warnings](#model-warnings)