(test) supports_function_calling

This commit is contained in:
ishaan-jaff 2024-02-28 17:51:34 -08:00
parent da2287fe79
commit 01f1dfdba3

View file

@ -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}")