Provider outage notice
A warning-tone, provider-level notice shown inline in chat when the AI provider is overloaded or down. Recoverable and transient — amber, not destructive-red. The recovery action can switch to a fallback model, and an optional countdown gates retry until the provider's retry-after has elapsed.
Included in the single kansho full pack. Components are not offered as separate installs.
Busy — fallback model
Static preview: the recovery action does not change demo stateBusy — with retry countdown
The countdown is live; Retry is a static-preview callback after it reaches 0:00Rate limited — countdown + details
The countdown and disclosure are live; Retry is a static-preview callbackTimeout — fallback, no countdown
Static preview: the recovery action does not change demo stateHard outage — no fallback
Static preview: the plain Retry does not change demo stateMinimal — no details, no countdown
Static preview: the recovery action does not change demo stateIncluded components
This page is the canonical destination for these components. All ship in the single Kansho pack.
Provider outage notice
components/agent/provider-outage-notice.tsxComponent documentation
Provider outage notice
components/agent/provider-outage-notice.tsxPurpose
Explains provider busy, rate-limit, timeout, or outage conditions and optionally offers retry or fallback recovery.
Appropriate use
Use inline when an external provider failure interrupts an otherwise recoverable agent flow.
Example
components/agent/provider-outage-notice.tsx has a representative live example in the "Busy — with retry countdown" section on /components/provider-outage.
States
Variants are busy, rate-limited, timeout, and outage; retry can be unavailable, counting down, ready, relabelled, or routed to a fallback model.
API and props
ProviderOutageNotice accepts variant, title, body, fallbackModel, retryAfter, details, onRetry, retryLabel, and className.
Dependencies
Direct imports are React, Lucide icons, Disclosure, and cn.
Accessibility
Countdown text updates in a polite live region; retry is a native disabled button until ready, and details use an accessible disclosure.
Limitations
The countdown is client-local and does not validate provider recovery, schedule retries, or announce retry failure.
Source
Source: components/agent/provider-outage-notice.tsx.
Full pack
components/agent/provider-outage-notice.tsx is documented at /components/provider-outage and installs only through the single Kansho full pack; no individual component install is offered.