fix linter

This commit is contained in:
nicolasvienot
2025-07-31 06:49:53 +02:00
parent 41262b008b
commit 941da56ee3

View File

@ -38,7 +38,10 @@ lazy_static! {
) )
.expect("Can't create a metric"); .expect("Can't create a metric");
pub static ref MEILISEARCH_CHAT_TOKENS_TOTAL: IntCounterVec = register_int_counter_vec!( pub static ref MEILISEARCH_CHAT_TOKENS_TOTAL: IntCounterVec = register_int_counter_vec!(
opts!("meilisearch_chat_tokens_total", "Total number of tokens consumed (prompt + completion)"), opts!(
"meilisearch_chat_tokens_total",
"Total number of tokens consumed (prompt + completion)"
),
&["workspace", "model"] &["workspace", "model"]
) )
.expect("Can't create a metric"); .expect("Can't create a metric");