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
build: fix test
Krrish Dholakia59a9b71d216d
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex f8dd86cbcca..815672ff22b 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -4674,8 +4674,7 @@"litellm_provider": "bedrock","mode": "chat","supports_assistant_prefill": true,- "supports_function_calling": true,- "supports_vision": true+ "supports_function_calling": true},"us.anthropic.claude-3-opus-20240229-v1:0": {"max_tokens": 4096,@@ -4741,8 +4740,7 @@"output_cost_per_token": 0.000005,"litellm_provider": "bedrock","mode": "chat",- "supports_function_calling": true,- "supports_vision": true+ "supports_function_calling": true},"eu.anthropic.claude-3-opus-20240229-v1:0": {"max_tokens": 4096,diff --git a/tests/test_organizations.py b/tests/test_organizations.pyindex d62380b4ad9..947f260196d 100644--- a/tests/test_organizations.py+++ b/tests/test_organizations.py@@ -29,6 +29,7 @@ async def new_organization(session, i, organization_alias, max_budget=None):return await response.json()+async def list_organization(session, i):url = "http://0.0.0.0:4000/organization/list"headers = {"Authorization": "Bearer sk-1234", "Content-Type": "application/json"}@@ -46,6 +47,7 @@ async def list_organization(session, i):return await response.json()+@pytest.mark.asyncioasync def test_organization_new():"""@@ -61,6 +63,7 @@ async def test_organization_new():]await asyncio.gather(*tasks)+@pytest.mark.asyncioasync def test_organization_list():"""@@ -77,8 +80,8 @@ async def test_organization_list():]await asyncio.gather(*tasks)- response_json = await list_organization(session)+ response_json = await list_organization(session, i=0)print(len(response_json))- if len(response_json)==0:- raise Exception(f"Return empty list of organization")+ if len(response_json) == 0:+ raise Exception("Return empty list of organization")