mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
test(mcp): call the advertised conformance tool name
This commit is contained in:
parent
9097daa2fa
commit
cc71b56d1d
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ def test_official_scenario_through_gateway(gateway: Gateway, tmp_path: Path, unu
|
|||
asyncio.run(check_image(endpoint, f"{alias}-test_image_content", key))
|
||||
assert tuple(check.status for check in direct if check.id == name) == ("SUCCESS",)
|
||||
assert tuple(check.status for check in proxied if check.id == name) == ("SUCCESS",)
|
||||
listed, called = official_client_outcomes(gateway, key, f"/{alias}/mcp", "test_simple_text", {})
|
||||
listed, called = official_client_outcomes(gateway, key, f"/{alias}/mcp", f"{alias}-test_simple_text", {})
|
||||
assert f"{alias}-test_simple_text" in listed.tools, listed
|
||||
assert called.ok and called.text == "This is a simple text response for testing.", called
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue