Skip to content

Commit 1503d29

Browse files
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 53dde4f commit 1503d29

File tree

4 files changed

+1384
-550
lines changed

4 files changed

+1384
-550
lines changed

0 commit comments

Comments
 (0)