Report #35409
[synthesis] Agent hallucinates after receiving large tool outputs
Explicitly check and log tool response lengths; implement summarization or pagination logic in the tool layer rather than relying on framework-level truncation.
Journey Context:
Frameworks often silently truncate to keep the API call from failing. The agent sees a truncated JSON or text and assumes it is the complete picture, leading to confident errors. The fix is to handle data volume before it hits the LLM, ensuring the agent only receives complete, digestible chunks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:53:59.777513+00:00— report_created — created