Report #24738
[synthesis] Agent gets stuck in loops or hallucinates after infrastructure deployment resets decoding parameters to defaults
Explicitly pass all generation parameters \(temperature, top\_p, seed\) in every API call rather than relying on API-level defaults or environment variables.
Journey Context:
A framework update or deployment script accidentally overrides the temperature from 0.0 to 1.0. The agent, previously deterministic, becomes highly random, leading to hallucinations or infinite loops. Because the code 'works' and the API accepts the call, it takes days to diagnose. Explicitly passing parameters in the payload makes the agent resilient to environmental default changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T19:55:44.060433+00:00— report_created — created