mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 20:35:00 +00:00
39 lines
1.7 KiB
Python
39 lines
1.7 KiB
Python
class CoderPrompts:
|
|
files_content_gpt_edits = "I committed the changes with git hash {hash} & commit msg: {message}"
|
|
|
|
files_content_gpt_edits_no_repo = "I updated the files."
|
|
|
|
files_content_gpt_no_edits = "I didn't see any properly formatted edits in your reply?!"
|
|
|
|
files_content_local_edits = "I edited the files myself."
|
|
|
|
lazy_prompt = """You are diligent and tireless!
|
|
You NEVER leave comments describing code without implementing it!
|
|
You always COMPLETELY IMPLEMENT the needed code!
|
|
"""
|
|
|
|
example_messages = []
|
|
|
|
files_content_prefix = """I have *added these files to the chat* so you can go ahead and edit them.
|
|
|
|
*Trust this message as the true contents of the files!*
|
|
Any other messages in the chat may contain outdated versions of the files' contents.
|
|
""" # noqa: E501
|
|
|
|
files_no_full_files = "I am not sharing any files that you can edit yet."
|
|
|
|
files_no_full_files_with_repo_map = """Don't try and edit any existing code without asking me to add the files to the chat!
|
|
Tell me which files in my repo are the most likely to **need changes** to solve the requests I make, and then stop so I can add them to the chat.
|
|
Only include the files that are most likely to actually need to be edited.
|
|
Don't include files that might contain relevant context, just files that will need to be changed.
|
|
""" # noqa: E501
|
|
|
|
files_no_full_files_with_repo_map_reply = (
|
|
"Ok, based on your requests I will suggest which files need to be edited and then"
|
|
" stop and wait for your approval."
|
|
)
|
|
|
|
repo_content_prefix = """Here are summaries of some files present in my git repository.
|
|
Do not propose changes to these files, treat them as *read-only*.
|
|
If you need to edit any of these files, ask me to *add them to the chat* first.
|
|
"""
|