diff --git a/docs/openapi.json b/docs/openapi.json index ba16e5c1..3e7050ab 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -2102,4 +2102,4 @@ "description": "Hugging Face Text Generation Inference API" } ] -} \ No newline at end of file +} diff --git a/router/src/main.rs b/router/src/main.rs index e9c8fa3d..a8c519d4 100644 --- a/router/src/main.rs +++ b/router/src/main.rs @@ -458,8 +458,11 @@ async fn main() -> Result<(), RouterError> { match result { Ok(_) => { if let Some(ref ua) = user_agent { - let stop_event = - usage_stats::UsageStatsEvent::new(ua.clone(), usage_stats::EventType::Stop, None); + let stop_event = usage_stats::UsageStatsEvent::new( + ua.clone(), + usage_stats::EventType::Stop, + None, + ); stop_event.send().await; }; Ok(())