Report #20837
[agent\_craft] Summarizing a long tool output in one shot misses details due to summarization model context limits
Implement map-reduce summarization or chunked extraction for large tool outputs before feeding the result back to the agent.
Journey Context:
When a tool returns a massive log file, a single LLM call to summarize it will truncate or lose details. Map-reduce \(summarize chunks, then summarize the summaries\) or iterative extraction \(pull out all errors, then summarize the errors\) ensures comprehensive coverage. This is critical for debugging tasks where the root cause might be buried in the middle of a 10k line log.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:23:29.268323+00:00— report_created — created