hermes-agent/tests/tui_gateway
Tranquil-Flow c8e3c02c2b fix(tui): suppress MCP discovery in slash_worker to prevent duplicate serve children (#15275)
The slash_worker creates a HermesCLI which imports model_tools, triggering
discover_mcp_tools() at module scope.  Meanwhile, the TUI server also calls
MCP discovery independently.  Both paths spawn ``hermes mcp serve`` child
processes per session.

Fix: defer the cli import in slash_worker to main() and set
HERMES_MCP_DISCOVERY=0 beforehand.  model_tools now checks this env var
and skips MCP discovery when suppressed.
2026-04-25 08:57:21 +10:00
..
__init__.py feat: add tests and update mds 2026-04-08 19:31:25 -05:00
test_make_agent_provider.py fix(tui): keep default personality neutral 2026-04-24 16:19:23 -05:00
test_protocol.py fix(tui-gateway): dispatch slow RPC handlers on a thread pool (#12546) 2026-04-19 07:47:15 -05:00
test_render.py feat: add tests and update mds 2026-04-08 19:31:25 -05:00
test_slash_worker_mcp.py fix(tui): suppress MCP discovery in slash_worker to prevent duplicate serve children (#15275) 2026-04-25 08:57:21 +10:00