Report #79775
[synthesis] Agent ignores corrected tool output and repeats earlier wrong answer in multi-turn conversation
Insert explicit 'correction acknowledgment' prompts after tool errors and use 'selective context compression' to retain original query intent while truncating intermediate tool outputs
Journey Context:
Single-source docs treat context windows as just token limits, but synthesis of 'Lost in the Middle' \(Liu et al.\) and OpenAI function calling logs reveals models fixate on early tool outputs due to positional bias. Common mistake is to return full error traces; this reinforces anchoring. Alternative of clearing context loses task state. The fix balances retention of original user intent \(anchored at top\) with aggressive summarization of failed intermediate steps.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:30:29.191768+00:00— report_created — created