mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-04 19:56:30 +00:00
fix linter
This commit is contained in:
@ -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");
|
||||||
|
Reference in New Issue
Block a user