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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Fix] Reset api_base/api_key in xdist conftest to prevent cross-test leakage
yuneng-jiangacfaea9d259a
diff --git a/tests/llm_translation/conftest.py b/tests/llm_translation/conftest.pyindex 46a3a31771f..e258bafc014 100644--- a/tests/llm_translation/conftest.py+++ b/tests/llm_translation/conftest.py@@ -30,6 +30,9 @@ _SCALAR_DEFAULTS = {"force_ipv4": getattr(litellm, "force_ipv4", False),"drop_params": getattr(litellm, "drop_params", None),"modify_params": getattr(litellm, "modify_params", False),+ "api_base": getattr(litellm, "api_base", None),+ "api_key": getattr(litellm, "api_key", None),+ "cohere_key": getattr(litellm, "cohere_key", None),}diff --git a/tests/local_testing/conftest.py b/tests/local_testing/conftest.pyindex a6b31caff22..0013f25357b 100644--- a/tests/local_testing/conftest.py+++ b/tests/local_testing/conftest.py@@ -43,6 +43,8 @@ _SCALAR_DEFAULTS = {"force_ipv4": getattr(litellm, "force_ipv4", False),"drop_params": getattr(litellm, "drop_params", None),"modify_params": getattr(litellm, "modify_params", False),+ "api_base": getattr(litellm, "api_base", None),+ "api_key": getattr(litellm, "api_key", None),}