Commit f868b67
committed
Enhance readFileTool with improved error handling and validation
- Introduced a FileEntry interface for better type management.
- Added validation for start_line and end_line to ensure proper ranges.
- Implemented RooIgnore validation before processing files.
- Enhanced error handling with dedicated functions for file and global errors.
- Streamlined file reading logic to handle binary files, definitions-only mode, and line thresholds more effectively.
- Improved user feedback for empty files and read limits.1 parent 1ee7cfd commit f868b67
File tree
4 files changed
+1397
-544
lines changed- src/core
- __tests__
- tools
4 files changed
+1397
-544
lines changed
0 commit comments