mirror of
https://github.com/PawanOsman/ChatGPT.git
synced 2026-07-18 08:05:57 +02:00
7f000c254c
- Updated timeout settings for various tools to improve responsiveness and prevent blocking the agent loop. - Enhanced error handling in tools to provide clearer feedback on invalid paths and execution failures. - Implemented abort signal support in multiple tools, allowing for graceful cancellation of long-running operations. - Adjusted the `walk` function to respect abort signals and limit the number of files processed, preventing hangs during directory traversals. - Improved the `grepTool`, `globTool`, and `fileSearchTool` to handle timeouts and abort signals effectively, enhancing overall tool performance.