Skip to main content

Crate aimux_stream

Crate aimux_stream 

Source
Expand description

§aimux-stream

Low-level SSE (Server-Sent Events) decoding, used by aimux-provider-utils to decode model API response streams. The crate plays the role eventsource-parser plays for the AI SDK: it knows nothing about providers, models or stream parts.

Re-exports§

pub use lines::extract_lines;
pub use sse::SseError;
pub use sse::SseEvent;
pub use sse::SseStream;

Modules§

lines
Text line-extraction utility.
sse
SSE (Server-Sent Events) decoding for streaming model responses.