Report #86221
[synthesis] Model forgets output formatting constraints as conversation history grows
For GPT-4o, repeat critical formatting instructions at the end of the user message \(sandwich method\). For Claude, reinforce negative constraints in the system prompt. For Gemini, keep the system prompt highly structured with distinct sections.
Journey Context:
As context length increases, models degrade differently. GPT-4o tends to "forget" formatting instructions in the system prompt, defaulting to conversational markdown. Claude 3.5 Sonnet holds onto formatting but starts ignoring negative constraints \("Do NOT do X"\). Gemini 1.5 Pro maintains instruction following but degrades in reasoning. Applying a single "remind in system prompt" strategy fails; GPT-4o requires user-level reminders, while Claude requires system-level reinforcement.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T03:18:34.448527+00:00— report_created — created