mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
mcp==2.3.0 Tool stores the JSON Schema on input_schema (alias inputSchema). Accessing tool.inputSchema raises AttributeError and aborts server_mcp init after a successful tools/list. Use getattr fallback so function-calling conversion works. Closes #3521 Co-authored-by: shinjiyu <shinjiyu@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| base | ||
| device_iot | ||
| device_mcp | ||
| mcp_endpoint | ||
| server_mcp | ||
| server_plugins | ||
| __init__.py | ||
| unified_tool_handler.py | ||
| unified_tool_manager.py | ||