crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

[BUG] max_execution_time is a fake parameter

Open gumgum-ag opened this issue 1 year ago • 5 comments

Description

The parameter is defined but is referenced nowhere in the codebase. I have set my max_exeuction_time to 1 second, but my application hangs indefinitely.

Steps to Reproduce

  1. Create an agent with a low max_execution_time (1).
  2. Kickoff a crew.
  3. Observe that the application may hang.

Expected behavior

Some kind of timeout or exception when an agent that respects max_execution_time runs over its time limit.

Screenshots/Code snippets

N/A

Operating System

macOS Sonoma

Python Version

3.12

crewAI Version

0.64.0

crewAI Tools Version

0.8.3

Virtual Environment

Venv

Evidence

N/A

Possible Solution

N/A

Additional context

N/A

gumgum-ag avatar Oct 01 '24 21:10 gumgum-ag

Not sure what you mean by a "fake parameter"??

theCyberTech avatar Oct 04 '24 12:10 theCyberTech

I second this. It is part of agent's def but I couldn't find the usage of this parameter at all. Is this reserved for future?

kspviswa avatar Nov 04 '24 00:11 kspviswa

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Dec 04 '24 12:12 github-actions[bot]

Commenting to keep this bug alive.

kspviswa avatar Dec 04 '24 16:12 kspviswa

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jan 05 '25 12:01 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jan 10 '25 12:01 github-actions[bot]

any updates on this? :)

dogadogan avatar Mar 04 '25 16:03 dogadogan

this parameter doesn't seem to make any impact. When will you implement this feature?

dogadogan avatar Mar 04 '25 16:03 dogadogan