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

ProcessorResult.md

50 lines1.3 KB

Interface: ProcessorResult

Defined in: packages/typescript/ai/src/activities/chat/stream/types.ts:78

Result from processing a stream

Properties

content

content: string;

Defined in: packages/typescript/ai/src/activities/chat/stream/types.ts:79


finishReason?

optional finishReason: string | null;

Defined in: packages/typescript/ai/src/activities/chat/stream/types.ts:82


thinking?

optional thinking: string;

Defined in: packages/typescript/ai/src/activities/chat/stream/types.ts:80


toolCalls?

optional toolCalls: ToolCall<unknown>[];

Defined in: packages/typescript/ai/src/activities/chat/stream/types.ts:81