mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
better prompt
This commit is contained in:
parent
5423ffe518
commit
ac1ff231e0
1 changed files with 15 additions and 6 deletions
|
@ -8,9 +8,18 @@ class UnifiedDiffSimplePrompts(UnifiedDiffPrompts):
|
|||
if a simpler wording is desired for this edit format.
|
||||
"""
|
||||
|
||||
# For now, we inherit all prompts. Override specific ones below if needed.
|
||||
# For example, to override the main_system prompt:
|
||||
# main_system = """
|
||||
# A simpler version of the main system prompt for udiff-simple.
|
||||
# """
|
||||
pass
|
||||
example_messages = []
|
||||
|
||||
system_reminder = """# File editing rules:
|
||||
|
||||
Return edits similar to unified diffs that `diff -U0` would produce.
|
||||
|
||||
The user's patch tool needs CORRECT patches that apply cleanly against the current contents of the file!
|
||||
Think carefully and make sure you include and mark all lines that need to be removed or changed as `-` lines.
|
||||
Make sure you mark all new or modified lines with `+`.
|
||||
Don't leave out any lines or the diff patch won't apply correctly.
|
||||
|
||||
To make a new file, show a diff from `--- /dev/null` to `+++ path/to/new/file.ext`.
|
||||
|
||||
{lazy_prompt}
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue