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

@ -45,10 +45,7 @@ other_hunks_applied = (
class UnifiedDiffCoder(Coder):
edit_format = "udiff"
def __init__(self, *args, **kwargs):
self.gpt_prompts = UnifiedDiffPrompts()
super().__init__(*args, **kwargs)
gpt_prompts = UnifiedDiffPrompts()
def get_edits(self):
content = self.partial_response_content