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
fix calculated cache key for tests
Ishaan Jaff8ae265328063
diff --git a/tests/proxy_unit_tests/test_key_generate_prisma.py b/tests/proxy_unit_tests/test_key_generate_prisma.pyindex 98cccccc791..9b8d3543bc6 100644--- a/tests/proxy_unit_tests/test_key_generate_prisma.py+++ b/tests/proxy_unit_tests/test_key_generate_prisma.py@@ -1581,7 +1581,7 @@ def test_call_with_key_over_budget(prisma_client):assert spend_log.model == "chatgpt-v-3"assert (spend_log.cache_key- == "c891d64397a472e6deb31b87a5ac4d3ed5b2dcc069bc87e2afe91e6d64e95a1e"+ == "509ba0554a7129ae4f4fd13d11c141acce5549bb6aaf1f629ed543101615658e")# use generated key to auth in@@ -1705,7 +1705,7 @@ def test_call_with_key_over_budget_no_cache(prisma_client):assert spend_log.model == "chatgpt-v-3"assert (spend_log.cache_key- == "c891d64397a472e6deb31b87a5ac4d3ed5b2dcc069bc87e2afe91e6d64e95a1e"+ == "509ba0554a7129ae4f4fd13d11c141acce5549bb6aaf1f629ed543101615658e")# use generated key to auth in