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): switch to record_mode=new_episodes to avoid partial-cassette poisoning

mateo-berri68db1c5e9e78
diff --git a/tests/llm_responses_api_testing/conftest.py b/tests/llm_responses_api_testing/conftest.py
index 87ed6218eab..01257cd26be 100644
--- a/tests/llm_responses_api_testing/conftest.py
+++ b/tests/llm_responses_api_testing/conftest.py
@@ -70,7 +70,7 @@ def vcr_config():
return {
"filter_headers": list(_FILTERED_REQUEST_HEADERS),
"decode_compressed_response": True,
- "record_mode": "once",
+ "record_mode": "new_episodes",
"allow_playback_repeats": True,
"match_on": (
"method",
diff --git a/tests/llm_translation/conftest.py b/tests/llm_translation/conftest.py
index 9da7c981387..132ebd57ad8 100644
--- a/tests/llm_translation/conftest.py
+++ b/tests/llm_translation/conftest.py
@@ -94,7 +94,7 @@ def vcr_config():
return {
"filter_headers": list(_FILTERED_REQUEST_HEADERS),
"decode_compressed_response": True,
- "record_mode": "once",
+ "record_mode": "new_episodes",
"allow_playback_repeats": True,
"match_on": (
"method",