L
LocalMode

In-Message Error · LocalMode

An accessible per-message error/retry block rendered inline on a failed assistant message (not a global toast), with auto-extracted error text, a classified hint (OOM / WebGPU lost / model load), and a retry action. Data source: useChat error state.

npx shadcn@latest add https://localmode.ai/r/ui/conversation/in-message-error.json
Preview In-Message Error on LocalMode's site (opens in a new tab)
Loading the source for ui/conversation/in-message-error…

ui/conversation/in-message-error