toAnthropicStream
toAnthropicStream(
stream,options?):AsyncGenerator<AnthropicStreamEvent,void,undefined>
Defined in: converters/response-converters.ts:138
Convert Universal IR stream to Anthropic SSE format.
Parameters
Section titled “Parameters”stream
Section titled “stream”Universal IR stream
options?
Section titled “options?”Stream conversion options
Returns
Section titled “Returns”AsyncGenerator<AnthropicStreamEvent, void, undefined>
Anthropic-formatted stream chunks