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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test_aincrement_top_level_request_and_spend_metrics
Ishaan Jafferf1a18b69a4c6
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.pyindex bc048f7407d..a874955663d 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@@ -542,7 +542,7 @@ def test_set_latency_metrics_missing_api_call_start(prometheus_logger):prometheus_logger.litellm_request_total_latency_metric.labels.assert_called_once()-def test_increment_top_level_request_and_spend_metrics(prometheus_logger):+def test_aincrement_top_level_request_and_spend_metrics(prometheus_logger):"""Test the increment_top_level_request_and_spend_metrics method