dwb2023 commited on
Commit
8b78861
1 Parent(s): 7a62329

Update file_utils.py

Browse files
Files changed (1) hide show
  1. file_utils.py +1 -1
file_utils.py CHANGED
@@ -31,7 +31,7 @@ def get_file_summary(file_path, file_type):
31
  "modification_date": modification_date
32
  }
33
 
34
- def read_file_content(file_path, max_size=32*1024):
35
  with open(file_path, "r", encoding="utf-8", errors="ignore") as file:
36
  if os.path.getsize(file_path) > max_size:
37
  return file.read(max_size) + "\n... [Content Truncated] ..."
 
31
  "modification_date": modification_date
32
  }
33
 
34
+ def read_file_content(file_path, max_size=16*1024):
35
  with open(file_path, "r", encoding="utf-8", errors="ignore") as file:
36
  if os.path.getsize(file_path) > max_size:
37
  return file.read(max_size) + "\n... [Content Truncated] ..."