[Feature Request ]: AutoGen Studio - Introduce a configurable timeout parameter for the local code executor, adjustable directly from the UI. #5057
Labels
proj-studio
Related to AutoGen Studio.
What feature would you like to be added?
When using Autogen directly from code and initializing an agent capable of executing code locally, the LocalCommandLineExecutor class is utilized, which can be initialized with a timeout parameter to control the code execution timeout. However, in Autogen Studio, the default timeout value of 60 seconds is always used, and it is currently not possible to increase this value without modifying the source code.
Specifically, in the file:
../venv/lib/python3.10/site-packages/autogenstudio/utils/utils.py, the LocalCommandLineExecutor is initialized without passing the timeout parameter.
Are there any plans to add support for this feature in a future release?
Why is this needed?
It would be highly beneficial to allow the configuration of a timeout parameter when defining an agent responsible for code execution, especially when handling time-intensive tasks. Since LocalCommandLineExecutor supports a timeout parameter when used in code, enabling the same feature in Autogen Studio would ensure consistency and parity between direct code-based usage and UI-driven workflows.
The text was updated successfully, but these errors were encountered: