//! Layer-2 stream transforms: turn raw HTTP chunk streams into //! [`SamplingEvent`](crate::events::SamplingEvent) streams. //! //! Each backend needs its own transform because the raw chunk types differ. //! Dispatch lives in [`actor::request_task`](crate::actor::request_task), //! which reads the backend from `SamplerConfig.api_backend`, calls the //! matching `SamplingClient::conversation_stream*` method, and hands the //! result to the transform here. pub mod chat_completions; pub mod collect; pub mod messages; pub mod responses; pub use chat_completions::stream_chat_completions; pub use collect::collect_response; pub use messages::stream_messages; pub use responses::stream_responses;