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 <noreply@anthropic.com>
This commit is contained in:
2
agent.py
2
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
|
||||
|
||||
Reference in New Issue
Block a user