mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 10:45:00 +00:00
Removed support for func based coders
This commit is contained in:
parent
3401395e61
commit
fbc4a49c24
4 changed files with 8 additions and 18 deletions
|
@ -58,6 +58,7 @@ class EditBlockFunctionCoder(Coder):
|
|||
]
|
||||
|
||||
def __init__(self, code_format, *args, **kwargs):
|
||||
raise RuntimeError("Deprecated, needs to be refactored to support get_edits/apply_edits")
|
||||
self.code_format = code_format
|
||||
|
||||
if code_format == "string":
|
||||
|
@ -91,7 +92,7 @@ class EditBlockFunctionCoder(Coder):
|
|||
res = json.dumps(args, indent=4)
|
||||
return res
|
||||
|
||||
def update_files(self):
|
||||
def _update_files(self):
|
||||
name = self.partial_response_function_call.get("name")
|
||||
|
||||
if name and name != "replace_lines":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue