From 9ba7e5b1b426fdc6e7cc4b919186db0ee900ba37 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Thu, 4 Jun 2026 01:40:11 +0530 Subject: [PATCH] fix(setup): point Portal login-failure retry hints at `hermes portal` The two retry hints inside _run_portal_one_shot (shown when the OAuth login fails) still suggested `hermes auth add nous --type oauth`. Since this path backs both `hermes portal` and `hermes setup --portal`, point users at the new human-readable `hermes portal` for consistency. --- hermes_cli/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hermes_cli/setup.py b/hermes_cli/setup.py index ceb1d39d189..5735664080d 100644 --- a/hermes_cli/setup.py +++ b/hermes_cli/setup.py @@ -2791,7 +2791,7 @@ def _run_portal_one_shot(config: dict) -> None: except SystemExit as e: print() print_error(f" Nous Portal login failed (exit {e.code}).") - print_info(" You can retry later with `hermes auth add nous --type oauth`.") + print_info(" You can retry later with `hermes portal`.") return except (KeyboardInterrupt, EOFError): print() @@ -2800,7 +2800,7 @@ def _run_portal_one_shot(config: dict) -> None: except Exception as exc: print() print_error(f" Nous Portal login failed: {exc}") - print_info(" You can retry later with `hermes auth add nous --type oauth`.") + print_info(" You can retry later with `hermes portal`.") return # Set provider → nous so the model picker, status surfaces, and