mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
test_proxy_model_resolution_with_custom_names_documentation
This commit is contained in:
parent
7912b2fad9
commit
cb35d5a844
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue