Report #30868
[synthesis] High API latency causes the agent to hallucinate tool outputs or skip steps because it assumes a timeout means failure
Differentiate between network timeouts and API timeouts. Never let the agent guess the result of a timed-out write operation. Implement idempotency keys for tool calls so timed-out calls can be safely retried without duplicating side effects.
Journey Context:
When an LLM call or tool call takes too long, clients often time out. If the agent's orchestration layer catches a timeout, it might tell the LLM 'the tool failed'. The LLM then hallucinates a fallback or assumes the state didn't change. If it was a write operation \(e.g., creating a file, deploying\), the state is now diverged. Idempotency and strict timeout handling \(treating timeout as 'unknown' not 'failed'\) are crucial.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:11:44.290040+00:00— report_created — created