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]

fix(tests): replace fake France Azure endpoint in test_router_azure_acompletion (#21818)

Ishaan Jaffc810f5cd63e1
diff --git a/tests/local_testing/test_router.py b/tests/local_testing/test_router.py
index 18d2d0c8b47..3be06374408 100644
--- a/tests/local_testing/test_router.py
+++ b/tests/local_testing/test_router.py
@@ -622,10 +622,10 @@ def test_router_azure_acompletion():
{
"model_name": "gpt-3.5-turbo", # openai model name
"litellm_params": { # params for litellm completion/embedding call
- "model": "azure/gpt-turbo",
- "api_key": os.getenv("AZURE_FRANCE_API_KEY"),
+ "model": "azure/gpt-4.1-mini",
+ "api_key": old_api_key,
"api_version": os.getenv("AZURE_API_VERSION"),
- "api_base": "https://openai-france-1234.openai.azure.com",
+ "api_base": os.getenv("AZURE_API_BASE"),
},
"rpm": 1800,
},