mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
fix(tests): use CI_CD_DEFAULT_ANTHROPIC_MODEL env var in test_router_retries
This commit is contained in:
parent
c20c42471e
commit
68cf8692df
1 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue