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]

Apply suggestion from @greptile-apps[bot]

Harshit Jain7e958bbf675e
diff --git a/tests/test_litellm/proxy/auth/test_auth_hot_path_network_requests.py b/tests/test_litellm/proxy/auth/test_auth_hot_path_network_requests.py
index bafbda34a26..e68ddcf4b7d 100644
--- a/tests/test_litellm/proxy/auth/test_auth_hot_path_network_requests.py
+++ b/tests/test_litellm/proxy/auth/test_auth_hot_path_network_requests.py
@@ -418,16 +418,10 @@ async def test_team_membership_cache_key_duplication():
@pytest.mark.asyncio
-async def test_full_hot_path_network_count():
- """
- Summary test that counts all network operations when processing
- a request with a key that has team_id and user_id attached.
-
- This test verifies the baseline number of cache operations expected
- on a fully warm cache path.
- """
- api_key = "sk-test-full-path"
- team_id = "team-full-123"
+ # Document that these are different keys
+ assert (
+ key_format_1 != key_format_2
+ ), "Cache keys should be different (this is the bug)"
user_id = "user-full-456"
hashed_token = hash_token(api_key)