mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 06:05: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
|
@ -9,10 +9,7 @@ from .wholefile_prompts import WholeFilePrompts
|
|||
|
||||
class WholeFileCoder(Coder):
|
||||
edit_format = "whole"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.gpt_prompts = WholeFilePrompts()
|
||||
super().__init__(*args, **kwargs)
|
||||
gpt_prompts = WholeFilePrompts()
|
||||
|
||||
def update_cur_messages(self, edited):
|
||||
if edited:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue