mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
test(mcp): drop the docstring from the wire spelling regression test
This commit is contained in:
parent
51aa021c6e
commit
b58c9349dd
1 changed files with 0 additions and 4 deletions
|
|
@ -7829,10 +7829,6 @@ class TestDeleteMCPGatewaySessions:
|
|||
class TestGetMcpToolsWireShape:
|
||||
@pytest.mark.asyncio
|
||||
async def test_get_mcp_tools_returns_each_tool_in_mcp_wire_spelling(self):
|
||||
"""GET /v1/mcp/tools hands scripts each tool in the MCP wire spelling (`inputSchema`,
|
||||
`outputSchema`, `_meta`), the shape v1.102.0 returned and the shape /mcp-rest/tools/list and the
|
||||
JSON-RPC tools/list still return. SDK 2 renamed the Tool model's Python attributes to snake_case
|
||||
behind camelCase aliases, so dumping attribute names leaked `input_schema` to every reader."""
|
||||
from mcp.types import ListToolsResult, Tool
|
||||
|
||||
add_schema = {"type": "object", "properties": {"a": {"type": "integer"}}, "required": ["a"]}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue