mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-18 10:41:49 -05:00
Adds ability to wait for execution completion instead of just returning current state. Uses Redis pubsub subscription for real-time updates. Changes: - Add wait_if_running parameter (0-300 seconds) to AgentOutputInput - Add _wait_for_execution_completion method using AsyncRedisExecutionEventBus - Subscribe to execution updates via Redis pubsub channel - Return immediately if execution already in terminal state - Return current state on timeout - Update response messages to indicate running/incomplete status SECRT-2003