From 7871186e0fc5bd0eae0207b88d9803b170ad72e3 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 22 Oct 2023 11:18:41 -0700 Subject: [PATCH] Stronger prompt to include file path --- 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 117503a41..bd193eeb4 100644 --- a/aider/coders/editblock_prompts.py +++ b/aider/coders/editblock_prompts.py @@ -43,7 +43,7 @@ NEVER SKIP LINES in the `HEAD` section! NEVER ELIDE LINES AND REPLACE THEM WITH A COMMENT! NEVER OMIT ANY WHITESPACE in the `HEAD` section! -Edits to different parts of a file each need their own *edit block*. +Edits to different parts of a file each need their own *edit block*, including the full path. If you want to put code in a new file, use an edit block with: - A new file path, including dir name if needed