mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-08 22:58:01 -05:00
Update file_operations.py
fixed linting
This commit is contained in:
@@ -42,6 +42,7 @@ def split_file(content, max_length=4000, overlap=0):
|
||||
yield chunk
|
||||
start += max_length - overlap
|
||||
|
||||
|
||||
def read_file(filename):
|
||||
"""Read a file and return the contents"""
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user