mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(test) supports_function_calling
This commit is contained in:
parent
da2287fe79
commit
01f1dfdba3
1 changed files with 1 additions and 4 deletions
|
@ -326,9 +326,7 @@ def test_supports_function_calling():
|
|||
litellm.supports_function_calling(model="azure/gpt-4-1106-preview") == True
|
||||
)
|
||||
assert (
|
||||
litellm.supports_function_calling(
|
||||
model="bedrock/anthropic.claude-instant-v1"
|
||||
)
|
||||
litellm.supports_function_calling(model="anthropic.claude-instant-v1")
|
||||
== False
|
||||
)
|
||||
assert litellm.supports_function_calling(model="palm/chat-bison") == False
|
||||
|
@ -338,6 +336,5 @@ def test_supports_function_calling():
|
|||
== False
|
||||
)
|
||||
assert litellm.supports_function_calling(model="claude-2") == False
|
||||
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue