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_router_provider_wildcard_routing

Ishaan Jaff49d40a1c3d10
diff --git a/tests/local_testing/test_router.py b/tests/local_testing/test_router.py
index 43e9a17525b..3445dd5a519 100644
--- a/tests/local_testing/test_router.py
+++ b/tests/local_testing/test_router.py
@@ -105,7 +105,7 @@ async def test_router_provider_wildcard_routing():
print("router model list = ", router.get_model_list())
response1 = await router.acompletion(
- model="anthropic/claude-3-sonnet-20240229",
+ model="anthropic/claude-3-5-sonnet-latest",
messages=[{"role": "user", "content": "hello"}],
)
@@ -126,7 +126,7 @@ async def test_router_provider_wildcard_routing():
print("response 3 = ", response3)
response4 = await router.acompletion(
- model="claude-3-5-sonnet-20240620",
+ model="claude-3-5-sonnet-latest",
messages=[{"role": "user", "content": "hello"}],
)