pub fn parse_session_json(
json: &str,
workspace_id: &str,
) -> Result<ChatSession, CopilotError>Expand description
Parse a chat session from JSON content
§Errors
Returns an error if the JSON is invalid or doesn’t match the expected format.
pub fn parse_session_json(
json: &str,
workspace_id: &str,
) -> Result<ChatSession, CopilotError>Parse a chat session from JSON content
Returns an error if the JSON is invalid or doesn’t match the expected format.