From fed1265bb4fc2c346df81f1d0baf2a8f00d076c1 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 23 May 2023 15:42:51 -0700 Subject: [PATCH] prompt golf --- aider/coder.py | 2 +- aider/prompts.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/coder.py b/aider/coder.py index b9db304c2..a1237fe3c 100755 --- a/aider/coder.py +++ b/aider/coder.py @@ -187,7 +187,7 @@ class Coder: repo_content += files_listing if all_content: - all_content += "\n\n" + all_content += "\n" all_content += repo_content diff --git a/aider/prompts.py b/aider/prompts.py index 6af78df1d..b77e449ce 100644 --- a/aider/prompts.py +++ b/aider/prompts.py @@ -54,7 +54,7 @@ files_content_gpt_no_edits = "I didn't see any properly formatted edits in your files_content_local_edits = "I edited the files myself." -files_content_prefix = "Propose changes to *only* these files (ask before editing others):\n\n" +files_content_prefix = "Propose changes to *only* these files (ask before editing others):\n" repo_content_prefix = ( "Here is a map of all the {other}files{ctags_msg}. You *must* ask with the"