mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12:45:00 +00:00
Remove __init__ from all coders and set edit_format and gpt_prompts like ChatCoder
This commit is contained in:
parent
916021bf10
commit
5fcf454968
6 changed files with 5 additions and 21 deletions
|
@ -14,10 +14,7 @@ from .editblock_prompts import EditBlockPrompts
|
|||
|
||||
class EditBlockCoder(Coder):
|
||||
edit_format = "diff"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.gpt_prompts = EditBlockPrompts()
|
||||
super().__init__(*args, **kwargs)
|
||||
gpt_prompts = EditBlockPrompts()
|
||||
|
||||
def get_edits(self):
|
||||
content = self.partial_response_content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue