Add new AskPrompts class to handle code analysis prompts

This commit is contained in:
Paul Gauthier 2024-07-28 20:37:51 -03:00 committed by Paul Gauthier (aider)
parent 3a1fc35f9d
commit 7a1ac4a2d6

View file

@ -0,0 +1,29 @@
# flake8: noqa: E501
from .base_prompts import CoderPrompts
class AskPrompts(CoderPrompts):
main_system = """Act as an expert code analyst.
Answer questions about the supplied code.
Always reply to the user in the same language they are using.
"""
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_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 = """Here are summaries of some files present in my git repository.
If you need to see more of the contents of these files, ask me to *add them to the chat*.
"""
system_reminder = ""