From 400ef7341917edc24422e3a99576f3e78b0a9e6c Mon Sep 17 00:00:00 2001 From: Jordan Ramos Date: Wed, 4 Mar 2026 17:45:40 -0700 Subject: [PATCH] Fix: Update SubAgentManager initialization for new timeout params Changed from timeout_seconds=300 to use default params (idle=300s, total=900s) Co-Authored-By: Claude Sonnet 4.5 --- agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent.py b/agent.py index f23f7dd..cf8287a 100644 --- a/agent.py +++ b/agent.py @@ -42,7 +42,7 @@ class Agent: # Sub-agent orchestration self.is_sub_agent = is_sub_agent self.specialist_prompt = specialist_prompt - self.sub_agent_manager = SubAgentManager(timeout_seconds=300) # 5 min timeout + self.sub_agent_manager = SubAgentManager() # Default: 5 min idle, 15 min total if not is_sub_agent: self.sub_agent_manager.start_watchdog() # Only main agent runs watchdog self.sub_agents: dict = {} # Cache for spawned sub-agents