pub fn record_genai_duration(system: &str, model: &str, duration_ms: f64)
Record the end-to-end duration for a GenAI request.