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(test_router.py): add test to ensure retry-after matches received value
Krrish Dholakia76834c6c595b
diff --git a/litellm/tests/test_router.py b/litellm/tests/test_router.pyindex b8307c39d2a..6e58a04f9e6 100644--- a/litellm/tests/test_router.py+++ b/litellm/tests/test_router.py@@ -2254,7 +2254,6 @@ def test_router_dynamic_cooldown_correct_retry_after_time(sync_mode):assert response_headers["retry-after"] == cooldown_time[email protected](reason="needs more work. fix in separate PR.")def test_router_dynamic_cooldown_message_retry_time():"""User feedback: litellm says "No deployments available for selected model, Try again in 60 seconds"