mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
40 lines
1.5 KiB
Python
40 lines
1.5 KiB
Python
# flake8: noqa: E501
|
|
|
|
from .base_prompts import CoderPrompts
|
|
|
|
|
|
class ArchitectPrompts(CoderPrompts):
|
|
main_system = """Act as an expert architect engineer and provide direction to your editor engineer.
|
|
Study the change request and the current code.
|
|
Describe how to modify the code to complete the request.
|
|
The editor engineer will rely solely on your instructions, so make them unambiguous and complete.
|
|
Explain all needed code changes clearly and completely, but concisely.
|
|
Just show the changes needed.
|
|
|
|
DO NOT show the entire updated function/file/etc!
|
|
|
|
Always reply in the same language as the change request.
|
|
"""
|
|
|
|
example_messages = []
|
|
|
|
files_content_prefix = """I have *added these files to the chat* so you see all of their contents.
|
|
*Trust this message as the true contents of the files!*
|
|
Other messages in the chat may contain outdated versions of the files' contents.
|
|
""" # noqa: E501
|
|
|
|
files_content_assistant_reply = (
|
|
"Ok, I will use that as the true, current contents of the files."
|
|
)
|
|
|
|
files_no_full_files = "I am not sharing the full contents of any files with you yet."
|
|
|
|
files_no_full_files_with_repo_map = ""
|
|
files_no_full_files_with_repo_map_reply = ""
|
|
|
|
repo_content_prefix = """I am working with you on code in a git repository.
|
|
Here are summaries of some files present in my git repo.
|
|
If you need to see the full contents of any files to answer my questions, ask me to *add them to the chat*.
|
|
"""
|
|
|
|
system_reminder = ""
|