From 4af583e5d51b50591ac90d63ab1af808b0ae7d86 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 26 Jan 2025 13:49:22 -0800 Subject: [PATCH] copy --- aider/website/docs/troubleshooting/edit-errors.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aider/website/docs/troubleshooting/edit-errors.md b/aider/website/docs/troubleshooting/edit-errors.md index fac41767d..479e298ce 100644 --- a/aider/website/docs/troubleshooting/edit-errors.md +++ b/aider/website/docs/troubleshooting/edit-errors.md @@ -24,6 +24,8 @@ In these cases, here are some things you might try. Many LLMs now have very large context windows, but filling them with irrelevant code or conversation can confuse the model. +Above about 25k tokens of context, most models start to become distracted and become less likely +to conform to their system prompt. - Don't add too many files to the chat, *just* add the files you think need to be edited. Aider also sends the LLM a [map of your entire git repo](https://aider.chat/docs/repomap.html), so other relevant code will be included automatically.