Skip to main content

load_session_jsonl

Function load_session_jsonl 

Source
pub async fn load_session_jsonl(
    session_id: &str,
) -> Result<Option<SessionData>, AgentError>
Expand description

Load a session from its NDJSON transcript file.

Reads all lines, parses each as a SessionEntry, and reconstructs the SessionData from message entries.