Skip to main content

ProviderStream

Type Alias ProviderStream 

Source
pub type ProviderStream = Pin<Box<dyn Stream<Item = Result<ProviderChunk, ProviderError>> + Send>>;
Expand description

A type-erased stream of events produced by a provider during streaming generation, enabling direct use with dyn LlmProvider.

Aliased Typeยง

pub struct ProviderStream { /* private fields */ }