docs: Add Ollama model configuration instructions to DeepSeek post

This commit is contained in:
Paul Gauthier 2025-01-28 11:15:31 -08:00 committed by Paul Gauthier (aider)
parent 095a05a8e1
commit b642543600

View file

@ -122,6 +122,8 @@ Unlike most other LLM servers, Ollama does not throw an error if you submit a re
So if your context window is too small, you wont get an explicit error. The biggest symptom will be that aider says it cant see (some of) the files you added to the chat. Thats because ollama is silently discarding them because they exceed the context window. So if your context window is too small, you wont get an explicit error. The biggest symptom will be that aider says it cant see (some of) the files you added to the chat. Thats because ollama is silently discarding them because they exceed the context window.
Create a `.aider.model.settings.yml` file in your home directory or git project root with settings like this:
```yaml ```yaml
- name: ollama/deepseek-v3 - name: ollama/deepseek-v3
edit_format: diff edit_format: diff