Defined in: activities/chat/stream/processor.ts:90
Options for StreamProcessor
optional chunkStrategy: ChunkStrategy;
Defined in: activities/chat/stream/processor.ts:91
optional events: StreamProcessorEvents;
Defined in: activities/chat/stream/processor.ts:93
Event-driven handlers
optional initialMessages: UIMessage[];
Defined in: activities/chat/stream/processor.ts:100
Initial messages to populate the processor
optional jsonParser: object;
Defined in: activities/chat/stream/processor.ts:94
parse: (jsonString) => any;
string
any
optional recording: boolean;
Defined in: activities/chat/stream/processor.ts:98
Enable recording for replay testing