pub async fn collect_stream(stream: StreamedTurn) -> Result<Vec<ThreadEvent>>Expand description
Collect all events from a StreamedTurn into a Vec<ThreadEvent>.
pub async fn collect_stream(stream: StreamedTurn) -> Result<Vec<ThreadEvent>>Collect all events from a StreamedTurn into a Vec<ThreadEvent>.