mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Use the correct edit format for the code command
This commit is contained in:
parent
b9b5666a75
commit
a2128e51a1
1 changed files with 1 additions and 1 deletions
|
@ -865,7 +865,7 @@ class Commands:
|
|||
|
||||
def cmd_code(self, args):
|
||||
"Ask for changes to your code using the best edit format"
|
||||
return self._generic_chat_command(args, "code")
|
||||
return self._generic_chat_command(args, self.coder.main_model.edit_format)
|
||||
|
||||
def _generic_chat_command(self, args, edit_format):
|
||||
if not args.strip():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue