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
test: move the remaining live groq call sites off the retired llama models (#37426)
yuneng-jiangbcead282e224
diff --git a/tests/local_testing/test_model_alias_map.py b/tests/local_testing/test_model_alias_map.pyindex 14c1de2f6a7..9ef0448e7c6 100644--- a/tests/local_testing/test_model_alias_map.py+++ b/tests/local_testing/test_model_alias_map.py@@ -15,7 +15,7 @@ from litellm import completion, embeddinglitellm.set_verbose = True-model_alias_map = {"good-model": "groq/llama-3.1-8b-instant"}+model_alias_map = {"good-model": "groq/openai/gpt-oss-120b"}def test_model_alias_map(caplog):@@ -34,7 +34,7 @@ def test_model_alias_map(caplog):if rec.levelname == "ERROR" and rec.name.startswith("LiteLLM"):pytest.fail(f"Unexpected litellm ERROR log: {rec.getMessage()}")- assert "llama-3.1-8b-instant" in response.model+ assert "gpt-oss-120b" in response.modelexcept litellm.ServiceUnavailableError:passexcept Exception as e:diff --git a/tests/local_testing/test_router.py b/tests/local_testing/test_router.pyindex af1a052e86d..7bc29517f8c 100644--- a/tests/local_testing/test_router.py+++ b/tests/local_testing/test_router.py@@ -120,7 +120,7 @@ async def test_router_provider_wildcard_routing():print("response 2 = ", response2)response3 = await router.acompletion(- model="groq/llama-3.1-8b-instant",+ model="groq/openai/gpt-oss-120b",messages=[{"role": "user", "content": "hello"}],)diff --git a/tests/local_testing/test_router_batch_completion.py b/tests/local_testing/test_router_batch_completion.pyindex f7a1b41ca29..bb9e1851c61 100644--- a/tests/local_testing/test_router_batch_completion.py+++ b/tests/local_testing/test_router_batch_completion.py@@ -44,7 +44,7 @@ async def test_batch_completion_multiple_models(mode):{"model_name": "groq-llama","litellm_params": {- "model": "groq/llama-3.1-8b-instant",+ "model": "groq/openai/gpt-oss-120b",},},]@@ -143,7 +143,7 @@ async def test_batch_completion_fastest_response_streaming():{"model_name": "groq-llama","litellm_params": {- "model": "groq/llama-3.1-8b-instant",+ "model": "groq/openai/gpt-oss-120b",},},]@@ -179,7 +179,7 @@ async def test_batch_completion_multiple_models_multiple_messages():{"model_name": "groq-llama","litellm_params": {- "model": "groq/llama-3.1-8b-instant",+ "model": "groq/openai/gpt-oss-120b",},},]diff --git a/tests/local_testing/test_stream_chunk_builder.py b/tests/local_testing/test_stream_chunk_builder.pyindex 38e04b93f18..664fd936205 100644--- a/tests/local_testing/test_stream_chunk_builder.py+++ b/tests/local_testing/test_stream_chunk_builder.py@@ -871,7 +871,7 @@ def load_env():}LLAMA3_3 = {"messages": messages,- "model": "groq/llama-3.3-70b-versatile",+ "model": "groq/openai/gpt-oss-120b","api_base": "https://api.groq.com/openai/v1","temperature": 0.0,"tools": tools,