chengyongru dfabd597f3 fix(goal): re-evaluate LLM timeout per request when goal state changes mid-run
The llm_timeout_s was computed once when creating AgentRunSpec, so if
long_task was called during a turn, subsequent LLM requests still used
the original timeout (default 300s). Now it's a callable that re-reads
session metadata on each _call_llm invocation.
2026-05-16 20:25:26 +08:00
..