@@ -1133,9 +1133,9 @@ async def test_router_content_policy_fallbacks(
11331133 router = Router (
11341134 model_list = [
11351135 {
1136- "model_name" : "claude-sonnet-4-5-latest " ,
1136+ "model_name" : "claude-sonnet-4-5-20250929 " ,
11371137 "litellm_params" : {
1138- "model" : "anthropic/claude-sonnet-4-5-latest " ,
1138+ "model" : "anthropic/claude-sonnet-4-5-20250929 " ,
11391139 "api_key" : "" ,
11401140 "mock_response" : mock_response ,
11411141 },
@@ -1159,22 +1159,22 @@ async def test_router_content_policy_fallbacks(
11591159 {
11601160 "model_name" : "my-general-model" ,
11611161 "litellm_params" : {
1162- "model" : "anthropic/claude-sonnet-4-5-latest " ,
1162+ "model" : "anthropic/claude-sonnet-4-5-20250929 " ,
11631163 "api_key" : "" ,
11641164 "mock_response" : Exception ("Should not have called this." ),
11651165 },
11661166 },
11671167 {
11681168 "model_name" : "my-context-window-model" ,
11691169 "litellm_params" : {
1170- "model" : "anthropic/claude-sonnet-4-5-latest " ,
1170+ "model" : "anthropic/claude-sonnet-4-5-20250929 " ,
11711171 "api_key" : "" ,
11721172 "mock_response" : Exception ("Should not have called this." ),
11731173 },
11741174 },
11751175 ],
11761176 content_policy_fallbacks = (
1177- [{"claude-sonnet-4-5-latest " : ["my-fallback-model" ]}]
1177+ [{"claude-sonnet-4-5-20250929 " : ["my-fallback-model" ]}]
11781178 if fallback_type == "model-specific"
11791179 else None
11801180 ),
@@ -1185,12 +1185,12 @@ async def test_router_content_policy_fallbacks(
11851185
11861186 if sync_mode is True :
11871187 response = router .completion (
1188- model = "claude-sonnet-4-5-latest " ,
1188+ model = "claude-sonnet-4-5-20250929 " ,
11891189 messages = [{"role" : "user" , "content" : "Hey, how's it going?" }],
11901190 )
11911191 else :
11921192 response = await router .acompletion (
1193- model = "claude-sonnet-4-5-latest " ,
1193+ model = "claude-sonnet-4-5-20250929 " ,
11941194 messages = [{"role" : "user" , "content" : "Hey, how's it going?" }],
11951195 )
11961196
0 commit comments