Defined in: activities/chat/stream/processor.ts:136
Options for StreamProcessor
optional chunkStrategy: ChunkStrategy;
optional chunkStrategy: ChunkStrategy;
Defined in: activities/chat/stream/processor.ts:137
optional events: StreamProcessorEvents;
optional events: StreamProcessorEvents;
Defined in: activities/chat/stream/processor.ts:139
New event-driven handlers
optional handlers: StreamProcessorHandlers;
optional handlers: StreamProcessorHandlers;
Defined in: activities/chat/stream/processor.ts:141
Legacy callback handlers (for backward compatibility)
optional initialMessages: UIMessage[];
optional initialMessages: UIMessage[];
Defined in: activities/chat/stream/processor.ts:148
Initial messages to populate the processor
optional jsonParser: object;
optional jsonParser: object;
Defined in: activities/chat/stream/processor.ts:142
parse: (jsonString) => any;
parse: (jsonString) => any;
string
any
optional recording: boolean;
optional recording: boolean;
Defined in: activities/chat/stream/processor.ts:146
Enable recording for replay testing
