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): allow playback repeats so duplicate intra-test requests serve from cache

mateo-berri59d59017662b
diff --git a/tests/llm_responses_api_testing/conftest.py b/tests/llm_responses_api_testing/conftest.py
index 7209d2f9577..c8d3bb1b10f 100644
--- a/tests/llm_responses_api_testing/conftest.py
+++ b/tests/llm_responses_api_testing/conftest.py
@@ -71,6 +71,7 @@ def vcr_config():
"filter_headers": list(_FILTERED_REQUEST_HEADERS),
"decode_compressed_response": True,
"record_mode": "once",
+ "allow_playback_repeats": True,
"match_on": (
"method",
"scheme",
diff --git a/tests/llm_translation/conftest.py b/tests/llm_translation/conftest.py
index 7f7a7424045..ed8836e2fea 100644
--- a/tests/llm_translation/conftest.py
+++ b/tests/llm_translation/conftest.py
@@ -95,6 +95,7 @@ def vcr_config():
"filter_headers": list(_FILTERED_REQUEST_HEADERS),
"decode_compressed_response": True,
"record_mode": "once",
+ "allow_playback_repeats": True,
"match_on": (
"method",
"scheme",