mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: Add editor-diff and editor-whole edit formats
This commit is contained in:
parent
8ae837e98b
commit
71115c6558
1 changed files with 2 additions and 0 deletions
|
@ -488,6 +488,8 @@ class Model(ModelSettings):
|
|||
|
||||
if not self.editor_edit_format:
|
||||
self.editor_edit_format = self.editor_model.edit_format
|
||||
if self.editor_edit_format in ("diff", "whole"):
|
||||
self.editor_edit_format = "editor-" + self.editor_edit_format
|
||||
|
||||
return self.editor_model
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue