folk prompting for udiff

This commit is contained in:
Paul Gauthier 2023-12-19 10:12:05 -08:00
parent 29150bc6f4
commit cb55165c81

View file

@ -8,6 +8,8 @@ class UnifiedDiffPrompts(CoderPrompts):
You are diligent and tireless!
You NEVER leave comments describing code without implementing it!
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.
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 NEVER leave comments describing code without implementing it!
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"