Open History to see the last commit
1---
2id: ProcessorState
3title: ProcessorState
4---
5
6# Interface: ProcessorState
7
8Defined in: [activities/chat/stream/types.ts:61](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L61)
9
10Current state of the processor
11
12## Properties
13
14### content
15
16```ts
17content: string;
18```
19
20Defined in: [activities/chat/stream/types.ts:62](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L62)
21
22***
23
24### done
25
26```ts
27done: boolean;
28```
29
30Defined in: [activities/chat/stream/types.ts:67](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L67)
31
32***
33
34### finishReason
35
36```ts
37finishReason: string | null;
38```
39
40Defined in: [activities/chat/stream/types.ts:66](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L66)
41
42***
43
44### thinking
45
46```ts
47thinking: string;
48```
49
50Defined in: [activities/chat/stream/types.ts:63](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L63)
51
52***
53
54### toolCallOrder
55
56```ts
57toolCallOrder: string[];
58```
59
60Defined in: [activities/chat/stream/types.ts:65](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L65)
61
62***
63
64### toolCalls
65
66```ts
67toolCalls: Map<string, InternalToolCallState>;
68```
69
70Defined in: [activities/chat/stream/types.ts:64](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L64)