mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
Merge branch 'main' of github.com:Aider-AI/aider
This commit is contained in:
commit
282887368a
3 changed files with 4 additions and 6 deletions
|
@ -19,7 +19,7 @@ Aider works best with these models, which are skilled at editing code:
|
||||||
- [GPT-4o](/docs/llms/openai.html)
|
- [GPT-4o](/docs/llms/openai.html)
|
||||||
- [Claude 3.5 Sonnet](/docs/llms/anthropic.html)
|
- [Claude 3.5 Sonnet](/docs/llms/anthropic.html)
|
||||||
- [Claude 3 Opus](/docs/llms/anthropic.html)
|
- [Claude 3 Opus](/docs/llms/anthropic.html)
|
||||||
- [DeepSeek Coder V2](/docs/llms/deepseek.html)
|
- [DeepSeek V3](/docs/llms/deepseek.html)
|
||||||
|
|
||||||
|
|
||||||
## Free models
|
## Free models
|
||||||
|
|
|
@ -6,7 +6,7 @@ nav_order: 500
|
||||||
# DeepSeek
|
# DeepSeek
|
||||||
|
|
||||||
Aider can connect to the DeepSeek.com API.
|
Aider can connect to the DeepSeek.com API.
|
||||||
The DeepSeek Coder V2 model has a top score on aider's code editing benchmark.
|
The DeepSeek Chat V3 model has a top score on aider's code editing benchmark.
|
||||||
|
|
||||||
```
|
```
|
||||||
python -m pip install -U aider-chat
|
python -m pip install -U aider-chat
|
||||||
|
@ -14,7 +14,7 @@ python -m pip install -U aider-chat
|
||||||
export DEEPSEEK_API_KEY=<key> # Mac/Linux
|
export DEEPSEEK_API_KEY=<key> # Mac/Linux
|
||||||
setx DEEPSEEK_API_KEY <key> # Windows, restart shell after setx
|
setx DEEPSEEK_API_KEY <key> # Windows, restart shell after setx
|
||||||
|
|
||||||
# Use DeepSeek Coder V2
|
# Use DeepSeek Chat v3
|
||||||
aider --deepseek
|
aider --deepseek
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -4,14 +4,13 @@ highlight_image: /assets/prompt-caching.jpg
|
||||||
parent: Usage
|
parent: Usage
|
||||||
nav_order: 750
|
nav_order: 750
|
||||||
description: Aider supports prompt caching for cost savings and faster coding.
|
description: Aider supports prompt caching for cost savings and faster coding.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Prompt caching
|
# Prompt caching
|
||||||
|
|
||||||
Aider supports prompt caching for cost savings and faster coding.
|
Aider supports prompt caching for cost savings and faster coding.
|
||||||
Currently Anthropic provides caching for Sonnet and Haiku,
|
Currently Anthropic provides caching for Sonnet and Haiku,
|
||||||
and DeepSeek provides caching for Coder.
|
and DeepSeek provides caching for Chat.
|
||||||
|
|
||||||
Aider organizes the chat history to try and cache:
|
Aider organizes the chat history to try and cache:
|
||||||
|
|
||||||
|
@ -48,4 +47,3 @@ every 5 minutes to keep the cache warm.
|
||||||
Aider will ping up to `N` times over a period of `N*5` minutes
|
Aider will ping up to `N` times over a period of `N*5` minutes
|
||||||
after each message you send.
|
after each message you send.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue