pub fn decode_stream_event(
state: &mut StreamTranslationState,
source: impl Into<FormatId>,
event: &Value,
) -> Vec<LlmResponseChunk>Expand description
Decodes one provider stream event with the built-in codec registry.
pub fn decode_stream_event(
state: &mut StreamTranslationState,
source: impl Into<FormatId>,
event: &Value,
) -> Vec<LlmResponseChunk>Decodes one provider stream event with the built-in codec registry.