Report #3117
[agent\_craft] Model chokes when you paste large logs, JSON, or trace output into the chat
Run a tool or script to aggregate, filter, or count first; pass only the computed result and a small representative sample into context. Never paste raw multi-megabyte output.
Journey Context:
Large structured data overwhelms attention and eats tokens. The model does not need every line; it needs the distribution and the exceptions. Code execution is precise and cheap; context is expensive and lossy. Many agents default to reading a whole file and dumping it; for logs or big JSON, prefer running grep, awk, or Python and showing the summary. Offloading work to code also reduces the chance of the model hallucinating counts or patterns.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T15:32:43.724135+00:00— report_created — created