Skip to main content

extract_model_id

Function extract_model_id 

Source
pub fn extract_model_id(path: &str) -> Option<String>
Expand description

Extract model ID from a transcript JSONL file.

Reads the first few lines looking for an assistant message with message.model. Returns the model ID string (e.g., “claude-opus-4-6”).