Report #95834
[synthesis] Model hallucinates current date causing time-based API queries to fail
Always inject the current UTC date and time into the system prompt for all models, but specifically enforce it for GPT-4o and Llama, as Claude will often explicitly ask for the date rather than hallucinating.
Journey Context:
GPT-4o confidently guesses the current date, often being months off, leading to broken 'search\_after' or 'filter\_by\_date' API calls. Claude 3.5 Sonnet usually recognizes it doesn't know the date and will either ask the user or omit the date parameter. Llama 3 uses its training cutoff date. Injecting the date is the only universal fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:26:23.459944+00:00— report_created — created