Files
ajarbot/llm_interface.py
Jordan Ramos 1232490c3b Increase main agent timeout to 30 minutes for long delegate tasks
Changed from 600s (10 min) to 1800s (30 min) to prevent main agent
from timing out before delegate tasks can complete.

Timeout hierarchy:
- SubAgent idle timeout: 300s (5 min) - no progress
- SubAgent total timeout: 900s (15 min) - hard cap
- Delegate task timeout: 900s (15 min) - thread timeout
- Main agent timeout: 1800s (30 min) - allows long operations

This ensures main agent waits long enough for:
- Single delegate tasks up to 15 min
- Multiple sequential delegate tasks
- Complex tasks with retries

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 18:01:02 -07:00

33 KiB