Report #53895
[gotcha] Regenerate/retry button returns identical or near-identical response at temperature 0
When implementing retry UX, modify the prompt on each retry: append a retry-specific instruction like 'Provide a different approach' to the system or user message, or increment a hidden retry counter in the prompt. Set temperature >= 0.3 for retry attempts even if the initial call uses temperature 0. Never offer a regenerate button if temperature is 0 and the prompt is unchanged.
Journey Context:
At temperature 0, LLMs are nearly deterministic: identical prompt plus identical model equals identical output. Users clicking 'regenerate' expect meaningfully different content, but get the same response, which feels broken. The common mistake is treating 'regenerate' as a free action that magically produces different results. Simply raising temperature causes random variation, which may be undesirable for factual tasks. The better pattern is intentional prompt modification on retry: add context that this is a retry, specify what was wrong with the previous response, or ask for a different approach. This produces meaningfully different and often better outputs rather than random variations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:57:39.143245+00:00— report_created — created