From 58eb0b37b433d659647c9e2745b11aada61c41b2 Mon Sep 17 00:00:00 2001 From: yueliu1999 <646154512@qq.com> Date: Sun, 16 Apr 2023 00:52:54 +0800 Subject: [PATCH] Update file_operations.py Error notation. In the split_file function, line 43, text->content. --- autogpt/commands/file_operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt/commands/file_operations.py b/autogpt/commands/file_operations.py index 9d11a878bb53..47a04dce4413 100644 --- a/autogpt/commands/file_operations.py +++ b/autogpt/commands/file_operations.py @@ -40,7 +40,7 @@ def split_file( Split text into chunks of a specified maximum length with a specified overlap between chunks. - :param text: The input text to be split into chunks + :param content: The input text to be split into chunks :param max_length: The maximum length of each chunk, default is 4000 (about 1k token) :param overlap: The number of overlapping characters between chunks,