Expand description
SSE (Server-Sent Events) streaming for OpenAI-compatible chat completions.
Structs§
- Chat
Stream - A streaming chat completion response.
- Stream
Choice - Stream
Chunk - A single chunk in the SSE stream.
- Stream
Delta
Functions§
- finish_
chunk - The terminal chunk carrying the real finish_reason.
- token_
chunk - A content-delta chunk (built synchronously from the generation thread).