AGENT_ERROR_MESSAGES
Default, human-facing copy per AgentErrorKind. Used as the message when
a classified error has no better text. Override by mapping error.kind to your
own strings in a custom error component.
For interrupted errors, prefer AGENT_RECOVERY_MESSAGES[recovery] once
recovery is known — it carries the correct per-case copy. The interrupted
entry here is only the fallback for errors constructed without a recovery value.
import { AGENT_ERROR_MESSAGES } from '@threadplane/chat';Declaration
AGENT_ERROR_MESSAGES: Record<AgentErrorKind, string>