pub fn parse_request_model(body: &[u8]) -> Option<String>Expand description
Extract the model field from an OpenAI-style request body. None if the body isn’t JSON or
has no model (then the request isn’t metered as LLM traffic). Other fields are ignored, so a
large messages array is not materialized beyond what serde must scan.