Report #40127
[gotcha] Retry or regenerate button returns identical response when temperature is 0
When implementing retry or regenerate functionality, override temperature to a value above 0 \(typically 0.5 to 0.7\) specifically for retry attempts. Alternatively append a variation prompt such as Provide a different perspective to the retry request. Never expose a retry button while using temperature 0 for the underlying request.
Journey Context:
Temperature 0 is commonly used for deterministic reproducible outputs which is great for testing and for tasks where consistency matters. But when you expose a regenerate or try again button in the UI, temperature 0 means the user gets the exact same response every time, making the button feel broken. The counter-intuitive part is that even developers who know this forget to override temperature on retry because the temperature is often set once in a config and never revisited for the retry code path. Simply bumping temperature to 0.5 or 0.7 on retry attempts gives meaningfully different outputs while staying close to the original intent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:49:34.289874+00:00— report_created — created