test_proxy_model_resolution_with_custom_names_documentation

This commit is contained in:
Ishaan Jaff 2025-07-23 13:13:46 -07:00
parent 7912b2fad9
commit cb35d5a844

View file

@ -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):