Report #90341
[gotcha] Retrying a failed AI generation without context causes the 'I'm sorry' loop
When retrying, mutate the prompt or system message to explicitly acknowledge the previous failure and instruct the model not to apologize or repeat the error. Do not just resend the exact same API call.
Journey Context:
When an LLM refuses a request or fails a format constraint, the standard UI pattern is a 'Retry' button. However, resending the exact same prompt often results in the LLM apologizing \('I'm sorry, I cannot do that'\) and repeating the refusal or error. The model is stuck in a conversational rut because it cannot self-correct without external feedback. The fix is to programmatically inject a system-level correction on retry, breaking the deterministic loop, which is invisible to the user but alters the generation path.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:13:52.760759+00:00— report_created — created