Files
PawanOsman-ChatGPT/webview-ui
Pawan Osman affe3e1c21 Enhance file reading functionality with improved error handling and timeout management
- Refactored the `readFileTool` to incorporate a timeout mechanism, preventing hangs on network or missing paths.
- Introduced a new `withAbortTimeout` function to manage promise timeouts and abort signals effectively.
- Enhanced error messages for various file read scenarios, providing clearer feedback on issues like missing paths and permission errors.
- Updated the `safePath` function to utilize a new `normalizePathInput` utility for better path normalization.
- Adjusted tool timeout settings in both the agent and UI to ensure consistent timeout behavior across components.
2026-07-15 18:24:11 +03:00
..