Report #41333
[synthesis] Model ignores structured output instructions and uses default formatting
Use XML tags \(e.g., , \) for Claude and Markdown headers \(e.g., \#\# Answer\) for GPT-4o/Gemini to enforce structural adherence.
Journey Context:
Claude is trained heavily on XML-tagged data and will rigorously adhere to XML schemas, often failing to parse Markdown-based structural instructions consistently. GPT-4o and Gemini are trained heavily on Markdown and often strip or ignore XML tags in favor of Markdown headers. When building cross-model agents, using a unified Markdown instruction fails on Claude, while unified XML fails on GPT-4o. Adapting the prompt syntax to the model's native format yields the highest structural compliance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T23:51:06.007966+00:00— report_created — created