mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
test: fix test
This commit is contained in:
parent
e3150075ce
commit
14c69e42e3
1 changed files with 1 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue