mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
copy
This commit is contained in:
parent
b2acaae882
commit
821dd1e18a
1 changed files with 13 additions and 3 deletions
16
docs/llms.md
16
docs/llms.md
|
@ -224,16 +224,26 @@ when working with models that aider is not familiar with.
|
|||
Aider can connect to local Ollama models.
|
||||
|
||||
```
|
||||
# Pull the model
|
||||
ollama pull <MODEL>
|
||||
|
||||
# Start your ollama server
|
||||
ollama serve
|
||||
|
||||
# In another terminal window:
|
||||
export OLLAMA_API_BASE=http://127.0.0.1:11434
|
||||
aider --model ollama/<MODEL>
|
||||
```
|
||||
|
||||
The Llama3 70B model works well with aider.
|
||||
Give aider the `--edit-format diff` switch if you're working with it.
|
||||
###
|
||||
#
|
||||
# llama3:70b works very well with aider
|
||||
#
|
||||
ollama pull llama3:70b
|
||||
ollama serve
|
||||
# ...in another terminal window:
|
||||
export OLLAMA_API_BASE=http://127.0.0.1:11434
|
||||
aider --model ollama/llama3:70b
|
||||
```
|
||||
|
||||
Also see the [model warnings](#model-warnings)
|
||||
section for information on warnings which will occur
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue