mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
roughed in diff-func-string
This commit is contained in:
parent
92c2d47e20
commit
58e763cee7
3 changed files with 41 additions and 7 deletions
|
@ -87,7 +87,7 @@ class Coder:
|
|||
elif edit_format == "whole-func":
|
||||
return WholeFileFunctionCoder(main_model, io, **kwargs)
|
||||
elif edit_format == "diff-func":
|
||||
return EditBlockFunctionCoder(main_model, io, **kwargs)
|
||||
return EditBlockFunctionCoder("string", main_model, io, **kwargs)
|
||||
else:
|
||||
raise ValueError(f"Unknown edit format {edit_format}")
|
||||
|
||||
|
@ -432,7 +432,7 @@ class Coder:
|
|||
messages += self.cur_messages
|
||||
|
||||
if self.verbose:
|
||||
utils.show_messages(messages)
|
||||
utils.show_messages(messages, functions=self.functions)
|
||||
|
||||
exhausted = False
|
||||
interrupted = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue