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]

retry flaky tests 3 times

Ishaan Jaff0b9782a377e4
diff --git a/litellm/tests/test_assistants.py b/litellm/tests/test_assistants.py
index 787c3833543..c376eecc224 100644
--- a/litellm/tests/test_assistants.py
+++ b/litellm/tests/test_assistants.py
@@ -214,6 +214,7 @@ async def test_add_message_litellm(sync_mode, provider):
[True, False],
) #
@pytest.mark.asyncio
[email protected](retries=3, delay=1)
async def test_aarun_thread_litellm(sync_mode, provider, is_streaming):
"""
- Get Assistants
diff --git a/litellm/tests/test_dynamic_rate_limit_handler.py b/litellm/tests/test_dynamic_rate_limit_handler.py
index bc50fc16f50..f49a760aff7 100644
--- a/litellm/tests/test_dynamic_rate_limit_handler.py
+++ b/litellm/tests/test_dynamic_rate_limit_handler.py
@@ -120,6 +120,7 @@ async def test_available_tpm(num_projects, dynamic_rate_limit_handler):
@pytest.mark.parametrize("num_projects", [1, 2, 100])
@pytest.mark.asyncio
[email protected](retries=3, delay=1)
async def test_available_rpm(num_projects, dynamic_rate_limit_handler):
model = "my-fake-model"
## SET CACHE W/ ACTIVE PROJECTS