Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test fix

Ishaan Jafferd4a2a4a6088f
diff --git a/tests/enterprise/litellm_enterprise/enterprise_callbacks/test_prometheus_logging_callbacks.py b/tests/enterprise/litellm_enterprise/enterprise_callbacks/test_prometheus_logging_callbacks.py
index 731efc812f5..5abd03387c7 100644
--- a/tests/enterprise/litellm_enterprise/enterprise_callbacks/test_prometheus_logging_callbacks.py
+++ b/tests/enterprise/litellm_enterprise/enterprise_callbacks/test_prometheus_logging_callbacks.py
@@ -236,6 +236,7 @@ def test_increment_token_metrics(prometheus_logger):
prometheus_logger.litellm_input_tokens_metric.labels.assert_called_once_with(
end_user=None,
user=None,
+ user_email=None,
hashed_api_key="test_hash",
api_key_alias="test_alias",
team="test_team",
@@ -250,6 +251,7 @@ def test_increment_token_metrics(prometheus_logger):
prometheus_logger.litellm_output_tokens_metric.labels.assert_called_once_with(
end_user=None,
user=None,
+ user_email=None,
hashed_api_key="test_hash",
api_key_alias="test_alias",
team="test_team",