pub fn channel_stream(
buffer: usize,
) -> (Sender<AssistantMessageEvent>, AssistantStream)Expand description
Build an AssistantStream from a channel pair. The provider pushes
events through the sender from a spawned task.
pub fn channel_stream(
buffer: usize,
) -> (Sender<AssistantMessageEvent>, AssistantStream)Build an AssistantStream from a channel pair. The provider pushes
events through the sender from a spawned task.