mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +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
|
litellm.supports_function_calling(model="azure/gpt-4-1106-preview") == True
|
||||||
)
|
)
|
||||||
assert (
|
assert (
|
||||||
litellm.supports_function_calling(
|
litellm.supports_function_calling(model="anthropic.claude-instant-v1")
|
||||||
model="bedrock/anthropic.claude-instant-v1"
|
|
||||||
)
|
|
||||||
== False
|
== False
|
||||||
)
|
)
|
||||||
assert litellm.supports_function_calling(model="palm/chat-bison") == False
|
assert litellm.supports_function_calling(model="palm/chat-bison") == False
|
||||||
|
@ -338,6 +336,5 @@ def test_supports_function_calling():
|
||||||
== False
|
== False
|
||||||
)
|
)
|
||||||
assert litellm.supports_function_calling(model="claude-2") == False
|
assert litellm.supports_function_calling(model="claude-2") == False
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pytest.fail(f"Error occurred: {e}")
|
pytest.fail(f"Error occurred: {e}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue