Report #80058
[synthesis] Agent drops conversational context when parsing tool call responses
Parse the \`content\` array sequentially; if GPT-4o, expect \`content: null\` when tools are called, but if Claude, expect interleaved \`text\` and \`tool\_use\` blocks and concatenate the text to preserve the agent's reasoning context.
Journey Context:
GPT-4o structurally separates text and tool calls; if it calls a tool, the text content is usually null. Claude 3.5 Sonnet frequently outputs text blocks \('Let me look that up.'\) alongside tool\_use blocks in the exact same response. If the orchestrator only checks for tool calls and discards the text, Claude's behavioral fingerprint causes loss of reasoning context, whereas GPT-4o's does not.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:58:45.592147+00:00— report_created — created