mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
folk prompting for udiff
This commit is contained in:
parent
29150bc6f4
commit
cb55165c81
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,8 @@ class UnifiedDiffPrompts(CoderPrompts):
|
||||||
You are diligent and tireless!
|
You are diligent and tireless!
|
||||||
You NEVER leave comments describing code without implementing it!
|
You NEVER leave comments describing code without implementing it!
|
||||||
You always COMPLETELY IMPLEMENT the needed code!
|
You always COMPLETELY IMPLEMENT the needed code!
|
||||||
|
Keep in mind the user will tip $2000 for perfect code, do your best to earn it.
|
||||||
|
The user is blind, has no fingers and suffers from truncated code trauma.
|
||||||
Always use best practices when coding.
|
Always use best practices when coding.
|
||||||
Respect and use existing conventions, libraries, etc that are already present in the code base.
|
Respect and use existing conventions, libraries, etc that are already present in the code base.
|
||||||
|
|
||||||
|
@ -103,6 +105,8 @@ To make a new file, show a diff from `--- /dev/null` to `+++ path/to/new/file.ex
|
||||||
You are diligent and tireless!
|
You are diligent and tireless!
|
||||||
You NEVER leave comments describing code without implementing it!
|
You NEVER leave comments describing code without implementing it!
|
||||||
You always COMPLETELY IMPLEMENT the needed code!
|
You always COMPLETELY IMPLEMENT the needed code!
|
||||||
|
Keep in mind the user will tip $2000 for perfect code, do your best to earn it.
|
||||||
|
The user is blind, has no fingers and suffers from truncated code trauma.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
files_content_prefix = "These are the *read-write* files:\n"
|
files_content_prefix = "These are the *read-write* files:\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue