Report #47400
[agent\_craft] Model hallucinates tool execution results inside chain-of-thought
Strictly separate reasoning: CoT in assistant message → tool\_calls block → \(tool results\) → next assistant message. Never allow CoT after tool\_calls or mixed with results
Journey Context:
When CoT \(reasoning\) appears after the tool\_calls block or interleaved with tool results, the model confuses its internal reasoning with actual tool output. This leads to confirmation bias where the model 'sees' in the tool result what it expected to see, not what was actually returned. Enforcing strict ordering prevents this hallucination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:02:40.301906+00:00— report_created — created