diff --git a/aider/coders/editblock_func_coder.py b/aider/coders/editblock_func_coder.py index 3881f908d..a4b25af3c 100644 --- a/aider/coders/editblock_func_coder.py +++ b/aider/coders/editblock_func_coder.py @@ -26,30 +26,24 @@ class EditBlockFunctionCoder(Coder): edits=dict( type="array", items=dict( - parameters=dict( - type="object", - required=["path", "original_lines", "updated_lines"], - properties=dict( - path=dict( - type="string", - description="Path of file to edit", - ), - original_lines=dict( - type="string", - description=( - ( - "Lines from the original file, including all" - " whitespace, newlines, without skipping any lines" - ), - ), - ), - updated_lines=dict( - type="string", - description=( - "New content to replace the `original_lines` with" - ), + type="object", + required=["path", "original_lines", "updated_lines"], + properties=dict( + path=dict( + type="string", + description="Path of file to edit", + ), + original_lines=dict( + type="string", + description=( + "Lines from the original file, including all" + " whitespace, newlines, without skipping any lines" ), ), + updated_lines=dict( + type="string", + description="New content to replace the `original_lines` with", + ), ), ), ),