mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
cargo fmt
This commit is contained in:
parent
0d03dc1d81
commit
2579c927b0
@ -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(())
|
||||
|
Loading…
Reference in New Issue
Block a user