test: fix test

This commit is contained in:
Krrish Dholakia 2025-07-03 15:41:29 -07:00
parent e3150075ce
commit 14c69e42e3

View file

@ -1298,6 +1298,7 @@ def test_anthropic_mcp_server_tool_use(spec: str):
try:
response = litellm.completion(**params)
assert response is not None
except litellm.InternalServerError as e:
print(e)
except Exception as e:
@ -1306,8 +1307,6 @@ def test_anthropic_mcp_server_tool_use(spec: str):
else:
raise e
assert response is not None
@pytest.mark.parametrize(
"model", ["openai/gpt-4.1", "anthropic/claude-sonnet-4-20250514"]