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: fixes because azure deactivated our account

Ishaan Jaffer20d8345a7cb8
diff --git a/tests/local_testing/test_least_busy_routing.py b/tests/local_testing/test_least_busy_routing.py
index 2d7605ebb68..0f4f6923a19 100644
--- a/tests/local_testing/test_least_busy_routing.py
+++ b/tests/local_testing/test_least_busy_routing.py
@@ -152,9 +152,8 @@ async def test_router_atext_completion_streaming():
{
"model_name": "azure-model",
"litellm_params": {
- "model": "azure/gpt-turbo",
- "api_key": "os.environ/AZURE_FRANCE_API_KEY",
- "api_base": "https://openai-france-1234.openai.azure.com",
+ "model": "openai/gpt-4.1-mini",
+ "api_key": "os.environ/OPENAI_API_KEY",
"rpm": 1440,
},
"model_info": {"id": 1},
@@ -162,9 +161,8 @@ async def test_router_atext_completion_streaming():
{
"model_name": "azure-model",
"litellm_params": {
- "model": "azure/gpt-turbo",
- "api_key": "os.environ/AZURE_FRANCE_API_KEY",
- "api_base": "https://openai-france-1234.openai.azure.com",
+ "model": "openai/gpt-4.1-mini",
+ "api_key": "os.environ/OPENAI_API_KEY",
"rpm": 6,
},
"model_info": {"id": 2},
@@ -172,9 +170,8 @@ async def test_router_atext_completion_streaming():
{
"model_name": "azure-model",
"litellm_params": {
- "model": "azure/gpt-turbo",
- "api_key": "os.environ/AZURE_FRANCE_API_KEY",
- "api_base": "https://openai-france-1234.openai.azure.com",
+ "model": "openai/gpt-4.1-mini",
+ "api_key": "os.environ/OPENAI_API_KEY",
"rpm": 6,
},
"model_info": {"id": 3},
@@ -222,9 +219,8 @@ async def test_router_completion_streaming():
{
"model_name": "azure-model",
"litellm_params": {
- "model": "azure/gpt-turbo",
- "api_key": "os.environ/AZURE_FRANCE_API_KEY",
- "api_base": "https://openai-france-1234.openai.azure.com",
+ "model": "openai/gpt-4.1-mini",
+ "api_key": "os.environ/OPENAI_API_KEY",
"rpm": 1440,
},
"model_info": {"id": 1},
@@ -232,9 +228,8 @@ async def test_router_completion_streaming():
{
"model_name": "azure-model",
"litellm_params": {
- "model": "azure/gpt-turbo",
- "api_key": "os.environ/AZURE_FRANCE_API_KEY",
- "api_base": "https://openai-france-1234.openai.azure.com",
+ "model": "openai/gpt-4.1-mini",
+ "api_key": "os.environ/OPENAI_API_KEY",
"rpm": 6,
},
"model_info": {"id": 2},
@@ -242,9 +237,8 @@ async def test_router_completion_streaming():
{
"model_name": "azure-model",
"litellm_params": {
- "model": "azure/gpt-turbo",
- "api_key": "os.environ/AZURE_FRANCE_API_KEY",
- "api_base": "https://openai-france-1234.openai.azure.com",
+ "model": "openai/gpt-4.1-mini",
+ "api_key": "os.environ/OPENAI_API_KEY",
"rpm": 6,
},
"model_info": {"id": 3},