mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-08 21:55:00 +00:00
feat: Improve senior coder's edit format handling
This commit is contained in:
parent
856d617610
commit
15cc709322
2 changed files with 14 additions and 47 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue