mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
Fixes #64025 The hermes-tools MCP server was fetching each tool's JSON schema into params_schema but never passing it to FastMCP's add_tool(), so all published tools had an empty **kwargs signature. MCP clients couldn't see parameters and arguments were dropped at dispatch. This fix: - Adds _signature_from_schema() to convert JSON schemas to Python function signatures with type annotations - Attaches the generated signature/annotations to each handler closure so FastMCP introspects the real parameter structure - Filters out None values before dispatch to avoid forwarding unset optional parameters Impact: web_search, browser automation, vision, and other Hermes tools are now properly callable from the codex_app_server runtime. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_bedrock_transport.py | ||
| test_chat_completions.py | ||
| test_codex_app_server_runtime.py | ||
| test_codex_app_server_session.py | ||
| test_codex_event_projector.py | ||
| test_codex_transport.py | ||
| test_hermes_tools_mcp_server.py | ||
| test_transport.py | ||
| test_types.py | ||