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: update test
Krrish Dholakia1857f5d26409
diff --git a/tests/proxy_unit_tests/test_key_generate_prisma.py b/tests/proxy_unit_tests/test_key_generate_prisma.pyindex 7aa0d3a8938..f34d9478c16 100644--- a/tests/proxy_unit_tests/test_key_generate_prisma.py+++ b/tests/proxy_unit_tests/test_key_generate_prisma.py@@ -1323,10 +1323,10 @@ def test_generate_and_update_key(prisma_client):print("response1=", response1)- # update the team id+ # update the tpm limitresponse2 = await update_key_fn(request=Request,- data=UpdateKeyRequest(key=generated_key, team_id=_team_2),+ data=UpdateKeyRequest(key=generated_key, tpm_limit=1000),user_api_key_dict=UserAPIKeyAuth(user_role=LitellmUserRoles.PROXY_ADMIN,api_key="sk-1234",@@ -1350,7 +1350,7 @@ def test_generate_and_update_key(prisma_client):"project": "litellm-project3",}assert result["info"]["models"] == ["ada", "babbage", "curie", "davinci"]- assert result["info"]["team_id"] == _team_2+ assert result["info"]["tpm_limit"] == 1000assert result["info"]["budget_duration"] == "1mo"assert result["info"]["max_budget"] == 100