Report #91625
[synthesis] Model hallucinates incorrect dates for relative time queries in tool arguments
Inject the current UTC date/time into the system prompt for all models. For OpenAI, also add it to the tool description if the parameter is date-sensitive.
Journey Context:
When a user asks 'book a flight for tomorrow', models diverge wildly on relative dates. GPT-4o often hallucinates a date based on its training cutoff or assumes a static date. Claude 3.5 Sonnet often outputs the literal string 'tomorrow' or 'INSERT\_DATE' instead of an ISO timestamp, causing API errors. Gemini attempts to guess but is often off by timezone. No model reliably knows the current time natively. The only cross-model fix is to dynamically inject the current date/time into the system prompt, yet agents frequently omit this, assuming the model 'knows' today's date.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:23:05.484142+00:00— report_created — created