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 router fallbacks test
Ishaan Jaffc4153f9340f9
diff --git a/litellm/tests/test_router_fallbacks.py b/litellm/tests/test_router_fallbacks.pyindex 86e0cf62b93..f6b20904211 100644--- a/litellm/tests/test_router_fallbacks.py+++ b/litellm/tests/test_router_fallbacks.py@@ -1231,3 +1231,4 @@ async def test_using_default_fallback(sync_mode):pytest.fail(f"Expected call to fail we passed model=openai/foo")except Exception as e:print("got exception = ", e)+ assert "No healthy deployment available, passed model=very-bad-model" in str(e)