[BUG] When setting max_execution_time=1
for an Agent, the timeout is not being enforced as expected. The task continues to run without timing out after 1 second.
#2379
Labels
bug
Something isn't working
Description
Create an Agent with
max_execution_time=1
and assign a task that takes longer than 1 second to complete and Observe that the task continues to run without timing outEnvironment:
Steps to Reproduce
https://docs.crewai.com/quickstart
crewai create crew example
Expected behavior
The task should timeout after 1 second.
Screenshots/Code snippets
The duration between the two timestamps is 37.10 seconds
Operating System
Ubuntu 20.04
Python Version
3.12
crewAI Version
0.105.0
crewAI Tools Version
0.37.0
Virtual Environment
Venv
Evidence
No error messages
Possible Solution
None
Additional context
None
The text was updated successfully, but these errors were encountered: