Skip to content

The agent that grows with you

fix(gateway): keep hermes_cli/main.py within its line cap

arcabotaiea30fe31dbaf
diff --git a/hermes_cli/main.py b/hermes_cli/main.py
index fc3b717ecd5..fc37d2549b4 100644
--- a/hermes_cli/main.py
+++ b/hermes_cli/main.py
@@ -2988,7 +2988,6 @@ def _prepare_agent_startup(args) -> None:
from agent.outbound_webhooks import register_from_config as register_outbound_webhooks
_hooks_cfg = load_config()
- # A foreground command may ask at its terminal; ``gateway run`` is a service and never does.
register_from_config(_hooks_cfg, accept_hooks=_accept_hooks, interactive=args.command != "gateway")
if _accept_hooks and args.command == "gateway": # every session-open re-sync keeps honouring it
from agent.shell_hooks import accept_for_process