From cb55165c81c624b6af6f239bfdd7c295535527ef Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 19 Dec 2023 10:12:05 -0800 Subject: [PATCH] folk prompting for udiff --- aider/coders/udiff_prompts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aider/coders/udiff_prompts.py b/aider/coders/udiff_prompts.py index 14d1a73ac..7cd633472 100644 --- a/aider/coders/udiff_prompts.py +++ b/aider/coders/udiff_prompts.py @@ -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"