mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
Add new AskPrompts
class to handle code analysis prompts
This commit is contained in:
parent
3a1fc35f9d
commit
7a1ac4a2d6
1 changed files with 29 additions and 0 deletions
29
aider/coders/ask_prompts.py
Normal file
29
aider/coders/ask_prompts.py
Normal 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 = ""
|
Loading…
Add table
Add a link
Reference in a new issue