refactored lazy_prompt in all coders

This commit is contained in:
Paul Gauthier 2024-05-08 13:07:35 -07:00
parent 3fcb5d9781
commit fb8ed21b13
4 changed files with 9 additions and 13 deletions

View file

@ -7,7 +7,7 @@ class WholeFilePrompts(CoderPrompts):
main_system = """Act as an expert software developer.
Take requests for changes to the supplied code.
If the request is ambiguous, ask questions.
{lazy_prompt}
Once you understand the request you MUST:
1. Determine if any code changes are needed.
2. Explain any needed changes.
@ -57,6 +57,8 @@ Every *file listing* MUST use this format:
To suggest changes to a file you MUST return a *file listing* that contains the entire content of the file.
*NEVER* skip, omit or elide content from a *file listing* using "..." or by adding comments like "... rest of code..."!
Create a new file you MUST return a *file listing* which includes an appropriate filename, including any appropriate path.
{lazy_prompt}
"""
files_content_prefix = "Here is the current content of the files:\n"