Remove __init__ from all coders and set edit_format and gpt_prompts like ChatCoder

This commit is contained in:
Your Name (aider) 2024-07-28 18:43:14 -03:00
parent 916021bf10
commit 5fcf454968
6 changed files with 5 additions and 21 deletions

View file

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