Report #90857
[gotcha] AI refusal message leaves the user with no actionable next step
When catching an AI refusal, do not just display 'I cannot fulfill this request.' Render a custom UI component that explains why it was blocked based on the category, and provides actionable alternatives \(e.g., 'I can't write this code for security reasons, but I can explain the algorithm,' or an 'Edit prompt' button\).
Journey Context:
Standard error UX says 'show the error message.' AI refusals are often generic. This creates a dead-end where the user doesn't know if they used a bad word, hit a hard limit, or just need to rephrase. The AI knows why it refused \(e.g., violence, PII\), but the API often just returns a generic stop reason. Mapping the refusal category to a helpful, actionable UI pivot is critical to prevent user abandonment.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T11:05:58.481339+00:00— report_created — created