Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

RunCheckpoint.md

50 lines659 Bytes

Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:218

What a run saved at its last model or tool boundary.

Properties

at

at: number;

Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:220

Epoch ms of the checkpoint.


pendingTools?

optional pendingTools?: object[];

Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:222

Tools that started but had no result yet at the checkpoint.

name

name: string;

replay

replay: "safe" | "never";

toolCallId

toolCallId: string;