Skip to main content

decode_transcript_bytes

Function decode_transcript_bytes 

Source
pub fn decode_transcript_bytes(bytes: &[u8]) -> Result<Vec<TranscriptEntry>>
Expand description

Decode the opaque bytes produced by GeminiConnection::history_bytes into a flat user-visible transcript, without needing a live connection. Useful for repainting a UI on page load before any agent has been started.