Skip to content

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]

test_chat_completion_ratelimit add retry on test

Ishaan Jaffd15ed86e3e73
diff --git a/tests/test_openai_endpoints.py b/tests/test_openai_endpoints.py
index 6706e4d9f73..77c7c175c9f 100644
--- a/tests/test_openai_endpoints.py
+++ b/tests/test_openai_endpoints.py
@@ -297,6 +297,7 @@ async def test_chat_completion():
@pytest.mark.asyncio
[email protected](retries=3, delay=1)
async def test_chat_completion_ratelimit():
"""
- call model with rpm 1