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: exempt MockTransport request-shape embedding tests from VCR replay

mateo-berrif4347f25de09
diff --git a/tests/llm_translation/conftest.py b/tests/llm_translation/conftest.py
index 8532af2851c..567040c1d19 100644
--- a/tests/llm_translation/conftest.py
+++ b/tests/llm_translation/conftest.py
@@ -44,7 +44,11 @@ _VCR_AUTO_MARKER_SKIP_FILES = frozenset(
{"test_vcr_redis_persister.py", "test_ws_vcr.py"}
)
-_VCR_INCOMPATIBLE_NODEID_SUFFIXES: tuple[str, ...] = ()
+_VCR_INCOMPATIBLE_NODEID_SUFFIXES: tuple[str, ...] = (
+ "test_nvidia_nim.py::test_embedding_nvidia_nim",
+ "test_litellm_proxy_provider.py::test_litellm_gateway_from_sdk_embedding[False]",
+ "test_litellm_proxy_provider.py::test_litellm_gateway_from_sdk_embedding[True]",
+)
_verbose_state = VerboseReporterState()
diff --git a/tests/local_testing/conftest.py b/tests/local_testing/conftest.py
index ee93009a198..5535a62bb81 100644
--- a/tests/local_testing/conftest.py
+++ b/tests/local_testing/conftest.py
@@ -90,6 +90,7 @@ _VCR_INCOMPATIBLE_FILES = frozenset(
# carry no real provider cost.
_VCR_INCOMPATIBLE_NODEID_SUFFIXES: tuple[str, ...] = (
"test_router.py::test_router_text_completion_client",
+ "test_embedding.py::test_encoding_format_omitted_by_default_for_openai_sdk",
)