From 68cf8692df1c231dc82dd4528756bd1bf6a099ef Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Sat, 21 Feb 2026 10:41:42 -0800 Subject: [PATCH] fix(tests): use CI_CD_DEFAULT_ANTHROPIC_MODEL env var in test_router_retries --- tests/local_testing/test_router_retries.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/local_testing/test_router_retries.py b/tests/local_testing/test_router_retries.py index 1d72d5914c5..302ab50bf85 100644 --- a/tests/local_testing/test_router_retries.py +++ b/tests/local_testing/test_router_retries.py @@ -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, }, }