fix(tests): use CI_CD_DEFAULT_ANTHROPIC_MODEL env var in test_router_retries

This commit is contained in:
Ishaan Jaffer 2026-02-21 10:41:42 -08:00
parent c20c42471e
commit 68cf8692df

View file

@ -3,6 +3,8 @@
import asyncio
import os
DEFAULT_ANTHROPIC_MODEL = os.getenv("CI_CD_DEFAULT_ANTHROPIC_MODEL", "claude-haiku-4-5-20251001")
import sys
import time
import traceback
@ -859,7 +861,7 @@ async def test_router_timeout_model_specific_and_global():
{
"model_name": "anthropic-claude",
"litellm_params": {
"model": "anthropic/claude-sonnet-4-5-20250929",
"model": f"anthropic/{DEFAULT_ANTHROPIC_MODEL}",
"timeout": 1,
},
}