mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
fix(tui): force MCP discovery off in slash worker env
This commit is contained in:
parent
c8e3c02c2b
commit
d5eef50e9e
3 changed files with 49 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ def main():
|
|||
# Suppress MCP discovery -- the TUI server already handles MCP servers;
|
||||
# importing cli triggers model_tools which calls discover_mcp_tools() at
|
||||
# module scope. This env var tells model_tools to skip that step.
|
||||
os.environ.setdefault("HERMES_MCP_DISCOVERY", "0")
|
||||
os.environ["HERMES_MCP_DISCOVERY"] = "0"
|
||||
|
||||
import cli as cli_mod
|
||||
from cli import HermesCLI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue