Skip to main content

Module stream

Module stream 

Source

Structs§

ChatStreamChunk

Functions§

parse_anthropic_sse_stream
Parse an Anthropic SSE stream into chat chunks.
parse_sse_stream
Parse an OpenAI-compatible SSE stream into chat chunks.

Type Aliases§

ChatStream