diff --git a/aider/coders/editblock_func_coder.py b/aider/coders/editblock_func_coder.py index 70c5f8a76..64c518bad 100644 --- a/aider/coders/editblock_func_coder.py +++ b/aider/coders/editblock_func_coder.py @@ -36,14 +36,20 @@ class EditBlockFunctionCoder(Coder): description="Path of file to edit", ), original_lines=dict( - type="string", + type="array", + items=dict( + type="string", + ), description=( "Lines from the original file, including all" " whitespace, newlines, without skipping any lines" ), ), updated_lines=dict( - type="string", + type="array", + items=dict( + type="string", + ), description="New content to replace the `original_lines` with", ), ),