Files
crewAI/tests
Devin AI 142f3bbc60 This PR implements proper timeout handling for the max_execution_time parameter in the Agent class. When an LLM request times out, the system will now stop waiting for a response after the time defined by max_execution_time and either return a partial result or raise a TimeoutError.
Key changes:
- Added ThreadPoolExecutor-based timeout mechanism
- Implemented proper error handling and resource cleanup
- Added comprehensive tests for timeout functionality
- Ensured compatibility with existing agent execution patterns

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-03-31 20:01:21 +00:00
..
2025-01-03 21:49:55 -03:00
2025-01-02 16:06:48 -05:00
2025-03-28 22:08:15 +05:30
2025-03-14 03:00:30 -03:00
2025-03-28 22:08:15 +05:30
2023-10-29 19:51:59 -03:00
2025-03-27 08:14:07 +05:30
2025-01-03 21:49:55 -03:00