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: fix test
Krrish Dholakia2d47acad6ca3
diff --git a/litellm/tests/test_custom_callback_router.py b/litellm/tests/test_custom_callback_router.pyindex 544af78ee6e..80fc096e78a 100644--- a/litellm/tests/test_custom_callback_router.py+++ b/litellm/tests/test_custom_callback_router.py@@ -692,7 +692,7 @@ async def test_rate_limit_error_callback():messages=[{"role": "user", "content": "Hey, how's it going?"}],litellm_logging_obj=litellm_logging_obj,)- except litellm.RateLimitError:+ except (litellm.RateLimitError, ValueError):passawait asyncio.sleep(3)