From cb35d5a844e14bc15b6ab9d349a302819b8a8c36 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 23 Jul 2025 13:13:46 -0700 Subject: [PATCH] test_proxy_model_resolution_with_custom_names_documentation --- tests/test_litellm/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py index 0ec39e32b97..a1a513406c1 100644 --- a/tests/test_litellm/test_utils.py +++ b/tests/test_litellm/test_utils.py @@ -1058,7 +1058,7 @@ class TestProxyFunctionCalling: ), "Custom model names return False without proxy config context" # Case 2: Model name that can be resolved (matches pattern) - resolvable_model = "litellm_proxy/claude-3-sonnet-20240229" + resolvable_model = "litellm_proxy/claude-3-5-sonnet-latest" result = supports_function_calling(resolvable_model) assert result is True, "Resolvable model names work with fallback logic" @@ -1069,7 +1069,7 @@ class TestProxyFunctionCalling: ✅ WORKS (with current fallback logic): - litellm_proxy/gpt-4 - - litellm_proxy/claude-3-sonnet-20240229 + - litellm_proxy/claude-3-5-sonnet-latest - litellm_proxy/anthropic/claude-3-haiku-20240307 ❌ DOESN'T WORK (requires proxy server config):