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]

update budget reservation auth test expectation

user9db8ecac12fb
diff --git a/tests/test_litellm/proxy/auth/test_user_api_key_auth.py b/tests/test_litellm/proxy/auth/test_user_api_key_auth.py
index 28a131baa1e..8fa7dc67a6c 100644
--- a/tests/test_litellm/proxy/auth/test_user_api_key_auth.py
+++ b/tests/test_litellm/proxy/auth/test_user_api_key_auth.py
@@ -2218,6 +2218,7 @@ async def test_centralized_common_checks_reserves_request_end_user_budget():
"counter_key": "spend:end_user:alice",
"entity_type": "EndUser",
"entity_id": "alice",
+ "reserved_cost": 0.6,
"applied_adjustment": 0.0,
}
]