mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
feat: Add Ollama setup instructions for DeepSeek V3 in documentation
This commit is contained in:
parent
4783204f31
commit
095a05a8e1
1 changed files with 14 additions and 0 deletions
|
@ -101,6 +101,20 @@ Create a `.aider.model.settings.yml` file in your home directory or git project
|
||||||
|
|
||||||
You can run [DeepSeek V3 via Ollama](https://ollama.com/library/deepseek-v3).
|
You can run [DeepSeek V3 via Ollama](https://ollama.com/library/deepseek-v3).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Pull the model
|
||||||
|
ollama pull deepseek-v3
|
||||||
|
|
||||||
|
# Start your ollama server
|
||||||
|
ollama serve
|
||||||
|
|
||||||
|
# In another terminal window...
|
||||||
|
export OLLAMA_API_BASE=http://127.0.0.1:11434 # Mac/Linux
|
||||||
|
setx OLLAMA_API_BASE http://127.0.0.1:11434 # Windows, restart shell after setx
|
||||||
|
|
||||||
|
aider --model ollama/deepseek-v3
|
||||||
|
```
|
||||||
|
|
||||||
It's important to provide model settings, especially the `num_ctx` parameter.
|
It's important to provide model settings, especially the `num_ctx` parameter.
|
||||||
Ollama uses a 2k context window by default, which is very small for working with aider.
|
Ollama uses a 2k context window by default, which is very small for working with aider.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue