Add a system prompt to remind gpt about the output format

This commit is contained in:
Paul Gauthier 2023-05-07 21:04:04 -07:00
parent 257b58ba86
commit 1313a3f36b
2 changed files with 3 additions and 5 deletions

View file

@ -58,10 +58,8 @@ files_content_local_edits = "I made some changes to the files myself."
files_content_prefix = "Here is the current content of the files:\n\n"
files_content_suffix = """
BASE ANY EDITS ON THE CURRENT CONTENTS OF THE FILES AS SHOWN IN THIS MESSAGE.
NEVER REPLY WITH AN ENTIRE FILE IN THE TRIPLE-QUOTED FORMAT LIKE THIS!
files_content_suffix = """BASE ANY EDITS ON THE CURRENT CONTENTS OF THE FILES AS SHOWN IN THE USER'S LAST MESSAGE.
NEVER REPLY WITH AN ENTIRE FILE IN THE TRIPLE-QUOTED FORMAT LIKE THAT!
ANY CODE YOU INCLUDE IN A REPLY MUST BE IN THE ORIGINAL/UPDATED FORMAT!
THE ORIGINAL BLOCK MUST BE THE *EXACT* LINES FROM THE FILE!
INCLUDE ALL THE LEADING SPACES!!