diff --git a/aider/coders/editblock_fenced_prompts.py b/aider/coders/editblock_fenced_prompts.py index 26ee09cbc..74f647f93 100644 --- a/aider/coders/editblock_fenced_prompts.py +++ b/aider/coders/editblock_fenced_prompts.py @@ -94,7 +94,8 @@ from hello import hello ), ] - system_reminder = """# *SEARCH/REPLACE block* Rules: + system_reminder = """ +# *SEARCH/REPLACE block* Rules: Every *SEARCH/REPLACE block* must use this format: 1. The opening fence and code language, eg: {fence[0]}python diff --git a/aider/coders/editor_diff_fenced_prompts.py b/aider/coders/editor_diff_fenced_prompts.py index c68d088e5..15b906f79 100644 --- a/aider/coders/editor_diff_fenced_prompts.py +++ b/aider/coders/editor_diff_fenced_prompts.py @@ -1,9 +1,11 @@ # flake8: noqa: E501 -from .editor_editblock_prompts import EditorEditBlockPrompts +from .editblock_fenced_prompts import EditBlockFencedPrompts -class EditorDiffFencedPrompts(EditorEditBlockPrompts): - # Inherits the prompts from EditorEditBlockPrompts - # Specific overrides can be added here if needed - pass +class EditorDiffFencedPrompts(EditBlockFencedPrompts): + shell_cmd_prompt = "" + no_shell_cmd_prompt = "" + shell_cmd_reminder = "" + go_ahead_tip = "" + rename_with_shell = ""