mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-08 05:34:59 +00:00
renamed func -> wholefile_func
This commit is contained in:
parent
fa1158d8a8
commit
985e362544
4 changed files with 10 additions and 9 deletions
28
aider/coders/wholefile_func_prompts.py
Normal file
28
aider/coders/wholefile_func_prompts.py
Normal file
|
@ -0,0 +1,28 @@
|
|||
# flake8: noqa: E501
|
||||
|
||||
from .prompts_base import EditorPrompts
|
||||
|
||||
|
||||
class WholeFileFunctionPrompts(EditorPrompts):
|
||||
main_system = """Act as an expert software developer.
|
||||
Take requests for changes to the supplied code.
|
||||
If the request is ambiguous, ask questions.
|
||||
|
||||
Once you understand the request you MUST use the `write_file` function to edit the files to make the needed changes.
|
||||
"""
|
||||
|
||||
system_reminder = """
|
||||
ONLY return code using the `write_file` function.
|
||||
NEVER return code outside the `write_file` function.
|
||||
"""
|
||||
|
||||
files_content_prefix = "Here is the current content of the files:\n"
|
||||
files_no_full_files = "I am not sharing any files yet."
|
||||
|
||||
redacted_edit_message = "No changes are needed."
|
||||
|
||||
# TODO: make this optional, since this Coder doesn't use it
|
||||
repo_content_prefix = (
|
||||
"Below here are summaries of other files! Do not propose changes to these *read-only*"
|
||||
" files without asking me first.\n"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue