Report #64563
[gotcha] AI forgets earlier conversation turns with no UI signal—context window truncation is invisible to users
Show a visual indicator when conversation history approaches the context window limit. Options: a memory limit badge, a subtle notice when older messages are no longer accessible to the model, or a collapsible summary of what the AI still remembers. Use summary-based memory compression \(ConversationSummaryBufferMemory pattern\) for older turns rather than silently dropping them.
Journey Context:
Most chat implementations use a sliding window over conversation history. When the window fills up, older messages are silently truncated from the API call. The AI then appears to forget things it knew moments ago. Users interpret this as a bug or as the AI being stupid. The gotcha: the UI displays the full conversation history, creating a dangerous false impression that the AI can see everything the user can see. This display-context mismatch is the core problem—the user references something from 10 turns ago, the AI has no access to it, and the user has no idea why the AI seems amnesic. The alternatives are: silently truncate \(current default—terrible UX\), summarize older turns before dropping them \(preserves gist via ConversationSummaryBufferMemory\), or explicitly show the user what the AI can still see. Option 2 is the right call for most products because it preserves continuity without requiring major UI changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:51:13.576286+00:00— report_created — created