Report #72026
[synthesis] Model ignores attempts to force a specific output format or persona at the start of its response
Use assistant prefilling to guarantee output format on Claude. For GPT-4o, rely on system prompts, few-shot examples, and the response\_format parameter instead of prefilling, as it does not support prefilling in the same way.
Journey Context:
A common cross-model agent architecture tries to use the same prompt tricks. Prefilling \(starting the assistant message with specific text like '\{ "data":'\) is a massive unlock for Claude, bypassing preamble and forcing JSON. Applying this same trick to GPT-4o breaks its chat template, causing it to ignore the prefill or repeat it. Agent orchestrators must branch their API call construction based on the model provider's specific steering mechanisms.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:28:49.040864+00:00— report_created — created