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]

tests(vcr): drop redundant num_retries=3 layer for vcr-marked tests

mateo-berri73594262ee5e
diff --git a/tests/llm_translation/conftest.py b/tests/llm_translation/conftest.py
index 98b7fb16bc7..7f7a7424045 100644
--- a/tests/llm_translation/conftest.py
+++ b/tests/llm_translation/conftest.py
@@ -197,17 +197,6 @@ def setup_and_teardown(event_loop): # Add event_loop as a dependency
event_loop.run_until_complete(asyncio.gather(*pending, return_exceptions=True))
-_VCR_RECORD_RETRIES = 3
-
-
[email protected](autouse=True)
-def _vcr_record_retries(setup_and_teardown, request):
- # Depends on setup_and_teardown so this runs after litellm is reloaded.
- if request.node.get_closest_marker("vcr") is None:
- return
- litellm.num_retries = _VCR_RECORD_RETRIES
-
-
def pytest_collection_modifyitems(config, items):
if not _vcr_disabled():
for item in items: