Skip to content

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 WANG45a9ff6e74e1
diff --git a/autogpt/commands/file_operations.py b/autogpt/commands/file_operations.py
index 00ddcd02da..7b95d97282 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_length
if end + overlap < content_length:
- chunk = content[start:end + overlap - 1]
+ chunk = content[start: end + overlap - 1]
else:
chunk = content[start:content_length]