pub fn delivered(items: &[Item<StreamEvent>]) -> Vec<AssistantContent>Expand description
The assistant content a stream’s items delivered, as its partial reply
holds it: every part that ended, in start order, and the text of a text
or reasoning part still open. The items hold no provider end, so no
block keeps its provider item and the content replays canonically.