refactor: Use EditBlockFencedPrompts directly in EditorDiffFencedPrompts

This commit is contained in:
Paul Gauthier 2025-04-12 20:04:04 -07:00 committed by Paul Gauthier (aider)
parent 838646ac5b
commit 7dfdc2094e
2 changed files with 9 additions and 6 deletions

View file

@ -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

View file

@ -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 = ""