Skip to main content

frame_source

Function frame_source 

Source
pub fn frame_source(event: &AssistantMessageEvent) -> Option<Value>
Expand description

A stream event as the frame encoder reads it. A delta becomes its type, index and delta alone: serializing the event whole copied the response so far (partial) once per delta, quadratic in the response’s length.