mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
refactor: Use EditBlockFencedPrompts directly in EditorDiffFencedPrompts
This commit is contained in:
parent
838646ac5b
commit
7dfdc2094e
2 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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 = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue