Report #76028
[counterintuitive] Should I put all available context into the LLM prompt?
Curate context ruthlessly. Include only strictly relevant information. Use retrieval steps or agent tools to fetch data dynamically rather than dumping entire documents into the system prompt.
Journey Context:
Developers assume more tokens = more knowledge = better answers. In practice, LLMs suffer from the 'lost in the middle' phenomenon where they ignore information in the center of long contexts. Excessive context increases latency, cost, and the probability of the model getting confused by conflicting instructions or irrelevant details, leading to higher hallucination rates.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:12:41.998024+00:00— report_created — created