From 821dd1e18af0b72c30482207c7c4d18b81ee237c Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 28 Apr 2024 17:08:17 -0700 Subject: [PATCH] copy --- docs/llms.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/llms.md b/docs/llms.md index b85dc3ede..861e39bf9 100644 --- a/docs/llms.md +++ b/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 + # Start your ollama server ollama serve # In another terminal window: export OLLAMA_API_BASE=http://127.0.0.1:11434 aider --model ollama/ -``` -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