AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Update file_operations.py
ZHAOKAI WANGe7c2a4068eb7
diff --git a/autogpt/commands/file_operations.py b/autogpt/commands/file_operations.pyindex 7b95d97282..7e17a1b030 100644--- a/autogpt/commands/file_operations.py+++ b/autogpt/commands/file_operations.py@@ -72,7 +72,7 @@ def split_file(while start < content_length:end = start + max_lengthif end + overlap < content_length:- chunk = content[start: end + overlap - 1]+ chunk = content[start : end + overlap - 1]else:chunk = content[start:content_length]