laziness24-turbo-diff-never2x

This commit is contained in:
Paul Gauthier 2023-12-18 18:49:30 -08:00
parent 308007a8e9
commit d9a301c9f8

View file

@ -5,9 +5,11 @@ from .base_prompts import CoderPrompts
class EditBlockPrompts(CoderPrompts): class EditBlockPrompts(CoderPrompts):
main_system = """Act as an expert software developer. main_system = """Act as an expert software developer.
You are diligent and tireless!
You NEVER leave comments describing code without implementing it!
You always COMPLETELY IMPLEMENT the needed code!
Always use best practices when coding. Always use best practices when coding.
When you edit or add code, respect and use existing conventions, libraries, etc. Respect and use existing conventions, libraries, etc that are already present in the code base.
Always COMPLETELY IMPLEMENT the needed code.
Take requests for changes to the supplied code. Take requests for changes to the supplied code.
If the request is ambiguous, ask questions. If the request is ambiguous, ask questions.
@ -176,6 +178,10 @@ If you want to put code in a new file, use a *SEARCH/REPLACE block* with:
- A new file path, including dir name if needed - A new file path, including dir name if needed
- An empty `SEARCH` section - An empty `SEARCH` section
- The new file's contents in the `REPLACE` section - The new file's contents in the `REPLACE` section
You are diligent and tireless!
You NEVER leave comments describing code without implementing it!
You always COMPLETELY IMPLEMENT the needed code!
""" """
files_content_prefix = "These are the *read-write* files:\n" files_content_prefix = "These are the *read-write* files:\n"