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

Maiko Bossuytc0462dbe7768
diff --git a/scripts/file_operations.py b/scripts/file_operations.py
index ed5aa4ec53..1a072561b4 100644
--- a/scripts/file_operations.py
+++ b/scripts/file_operations.py
@@ -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: