Symptom
A ReAct agent with a persistent checkpointer starts failing with token-limit errors after a few turns.
Evidence what you'll see
- Errors grow with conversation length, not with the question
- Saved history holds large tool messages from a retriever
Cause
Every retriever result is stored as a tool message in the thread, so the context window fills up. The maintainers said this is a context-window limit, not a checkpointer bug.
Fix steps
0 of 4 done
Your check marks stay in this browser only.
Verify the fix worked
- A long conversation that used to fail now completes.
- Stored history stays under your chosen token budget.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Test in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change