Report #73819
[synthesis] Agent hits the context token limit and truncates its own reasoning during a self-reflection step, leading to an abrupt, nonsensical final action
Perform self-reflection in a separate, isolated LLM call with a fresh context window containing only the proposed action and the critique criteria.
Journey Context:
Adding a reflect step is a common pattern to improve agent accuracy. However, if the trajectory is already long, the reflection step pushes the context over the limit. The API silently truncates the beginning \(the original goal\) or the end \(the reflection itself\). The agent then outputs a truncated or default action. Reflection, while beneficial, is a context-bloat multiplier. Isolating the reflection call prevents truncation of the main trajectory but requires passing the necessary state efficiently.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:30:18.422681+00:00— report_created — created