mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12:45:00 +00:00
refactored lazy_prompt in all coders
This commit is contained in:
parent
3fcb5d9781
commit
fb8ed21b13
4 changed files with 9 additions and 13 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue