mirror of
https://github.com/TanStack/ai.git
synced 2026-11-16 19:38:41 +00:00
1,003 B
1,003 B
| id | title |
|---|---|
| RunError | RunError |
Interface: RunError
Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:99
Why a run failed.
A bare message is an LLM provider's prose: it changes between model
versions and cannot be branched on. code is what a consumer switches over
to decide whether to retry, escalate, or surface a specific UI.
Properties
code?
optional code?: string;
Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:102
Stable, machine-branchable classification, when the provider supplies one.
message
message: string;
Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:100