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]

Merge main and resolve conflict in test_router_client_init.py

Yuneng Jiange69dfbc07dd7
diff --cc tests/local_testing/test_router_client_init.py
index f53ca1ced86,6cf8b4e59b7..3128a3d2910
--- a/tests/local_testing/test_router_client_init.py
+++ b/tests/local_testing/test_router_client_init.py
@@@ -83,8 -85,7 +83,8 @@@ def test_router_init_azure_service_prin
To allow for local testing without real credentials, first must mock Azure SDK authentication functions
and environment variables.
"""
- monkeypatch.delenv("AZURE_API_KEY", raising=False)
+ monkeypatch.delenv("AZURE_AI_API_KEY", raising=False)
+ monkeypatch.delenv("AZURE_OPENAI_API_KEY", raising=False)
litellm.enable_azure_ad_token_refresh = True
# mock the token provider function
mocked_func_generating_token = MagicMock(return_value="test_token")