feat: Add editor-diff-fenced coder and prompts classes

This commit is contained in:
Paul Gauthier (aider) 2025-04-12 19:52:43 -07:00
parent 38be8aa0da
commit b45186dde0
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,9 @@
from .editblock_coder import EditBlockCoder
from .editor_diff_fenced_prompts import EditorDiffFencedPrompts
class EditorDiffFencedCoder(EditBlockCoder):
"A coder that uses search/replace blocks, focused purely on editing files."
edit_format = "editor-diff-fenced"
gpt_prompts = EditorDiffFencedPrompts()

View file

@ -0,0 +1,9 @@
# flake8: noqa: E501
from .editor_editblock_prompts import EditorEditBlockPrompts
class EditorDiffFencedPrompts(EditorEditBlockPrompts):
# Inherits the prompts from EditorEditBlockPrompts
# Specific overrides can be added here if needed
pass