Skip to content

The agent that grows with you

fix: enforce startup cost and data consent before gateway admission

Teknium4dcf234d0d31
diff --git a/hermes_cli/main.py b/hermes_cli/main.py
index 1b1867e6c63..64ee08b25df 100644
--- a/hermes_cli/main.py
+++ b/hermes_cli/main.py
@@ -1654,6 +1654,9 @@ _CHAT_PASSTHROUGH = (
def cmd_chat(args):
"""Run interactive chat CLI."""
if not _resolve_use_tui(args):
+ # Consent is a frontend admission guard, not a property of the executor.
+ # Run it before discovery or session creation, including --yolo launches.
+ _confirm_startup_expensive_model_override(args)
from hermes_cli.gateway_chat import launch_from_args
sys.exit(launch_from_args(args))
_apply_safe_mode(args)