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

RunCheckpoint.md

50 lines659 Bytes

1---
2id: RunCheckpoint
3title: RunCheckpoint
4---
5​
6Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:218
7​
8What a run saved at its last model or tool boundary.
9​
10## Properties
11​
12### at
13​
14```ts
15at: number;
16```
17​
18Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:220
19​
20Epoch ms of the checkpoint.
21​
22***
23​
24### pendingTools?
25​
26```ts
27optional pendingTools?: object[];
28```
29​
30Defined in: packages/ai/src/activities/chat/middleware/run-store.ts:222
31​
32Tools that started but had no result yet at the checkpoint.
33​
34#### name
35​
36```ts
37name: string;
38```
39​
40#### replay
41​
42```ts
43replay: "safe" | "never";
44```
45​
46#### toolCallId
47​
48```ts
49toolCallId: string;
50```