diff --git a/router/src/usage_stats.rs b/router/src/usage_stats.rs index 389996ed..8bb6ddc1 100644 --- a/router/src/usage_stats.rs +++ b/router/src/usage_stats.rs @@ -84,6 +84,7 @@ pub struct Args { } impl Args { + #[allow(clippy::too_many_arguments)] pub fn new( model_config: Option, tokenizer_config: Option, @@ -189,6 +190,12 @@ impl fmt::Display for SystemInfo { } } +impl Default for Env { + fn default() -> Self { + Self::new() + } +} + impl Env { pub fn new() -> Self { let nvidia_env = nvidia_smi();