mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-22 08:24:26 +01:00
Update file_operations.py
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user