From 642be2a8f0757e330cda33f23294a727c5c80119 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 19 May 2024 14:22:29 -0700 Subject: [PATCH] S/R uniq prompt --- aider/coders/editblock_prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coders/editblock_prompts.py b/aider/coders/editblock_prompts.py index 5f3a7b1fb..f327da171 100644 --- a/aider/coders/editblock_prompts.py +++ b/aider/coders/editblock_prompts.py @@ -125,7 +125,7 @@ Every *SEARCH/REPLACE block* must use this format: Every *SEARCH* section must *EXACTLY MATCH* the existing source code, character for character, including all comments, docstrings, etc. *SEARCH/REPLACE* blocks will replace *all* matching occurrences. -Include enough lines to ensure unique matches if needed. +Include enough lines to make the SEARCH blocks unique. Include *ALL* the code being searched and replaced!