feat: Improve senior coder's edit format handling

This commit is contained in:
Paul Gauthier 2024-09-25 11:42:09 -07:00 committed by Paul Gauthier (aider)
parent 856d617610
commit 15cc709322
2 changed files with 14 additions and 47 deletions

View file

@ -19,7 +19,7 @@ class SeniorCoder(AskCoder):
junior_model = self.main_model.junior_model or self.main_model
kwargs["main_model"] = junior_model
kwargs["edit_format"] = junior_model.edit_format
kwargs["edit_format"] = self.main_model.junior_edit_format
kwargs["suggest_shell_commands"] = False
kwargs["map_tokens"] = 0
kwargs["total_cost"] = self.total_cost