parse_session_file

Function parse_session_file 

Source
pub fn parse_session_file(
    path: &Path,
    workspace_id: &str,
) -> Result<ChatSession, CopilotError>
Expand description

Parse a chat session from a JSON file

ยงErrors

Returns an error if the file cannot be read or parsed.