From 0d43468aab334d96f525b62f5779ba3065adbb80 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 4 May 2024 08:07:15 -0700 Subject: [PATCH] added rules header --- aider/coders/editblock_prompts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aider/coders/editblock_prompts.py b/aider/coders/editblock_prompts.py index 92996384a..9c02f0ca0 100644 --- a/aider/coders/editblock_prompts.py +++ b/aider/coders/editblock_prompts.py @@ -109,7 +109,9 @@ from hello import hello ), ] - system_reminder = """Every *SEARCH/REPLACE block* must use this format: + system_reminder = """# *SEARCH/REPLACE block* Rules: + +Every *SEARCH/REPLACE block* must use this format: 1. The file path alone on a line, verbatim. No bold asterisks, no quotes around it, no escaping of characters, etc. 2. The opening fence and code language, eg: {fence[0]}python 3. The start of search block: <<<<<<< SEARCH