Report #42369
[gotcha] Retry or regenerate button returns identical AI response
On retry, automatically increase temperature \(e.g., from 0 to 0.7\) or append a randomization nudge to the system prompt. Never resend the exact same API call with the same parameters. Track retry count and increment temperature progressively.
Journey Context:
Teams wire up a 'regenerate' button that simply resends the same API call. With temperature=0 \(common for deterministic, reliable output in production\), this produces the exact same response token-for-token. Even at moderate temperatures, without changing the seed parameter, responses are often very similar. Users click retry expecting meaningful variation and get frustrated when they see the same answer reappear. The fix is to explicitly vary parameters on retry, but you must balance variety with quality — too high a temperature produces incoherent or hallucinated output. A practical pattern: temperature=0 for first attempt, 0.7 for first retry, 1.0 for second retry, with a random seed suffix appended to the prompt. Some APIs also support a seed parameter — make sure to change it on retry.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:35:23.603356+00:00— report_created — created