diff --git a/cli-config.yaml.example b/cli-config.yaml.example index e81012152958..961e783522be 100644 --- a/cli-config.yaml.example +++ b/cli-config.yaml.example @@ -13,7 +13,7 @@ model: # Inference provider selection: # "auto" - Auto-detect from credentials (default) # "openrouter" - OpenRouter (requires: OPENROUTER_API_KEY or OPENAI_API_KEY) - # "nous" - Nous Portal OAuth (requires: hermes login) + # "nous" - Nous Portal OAuth (requires: hermes auth add nous) # "nous-api" - Nous Portal API key (requires: NOUS_API_KEY) # "anthropic" - Direct Anthropic API (requires: ANTHROPIC_API_KEY) # "openai-codex" - OpenAI Codex (requires: hermes auth) @@ -451,7 +451,7 @@ prompt_caching: # Provider options: # "auto" - Best available: OpenRouter → Nous Portal → main endpoint (default) # "openrouter" - Force OpenRouter (requires OPENROUTER_API_KEY) -# "nous" - Force Nous Portal (requires: hermes login) +# "nous" - Force Nous Portal (requires: hermes auth add nous) # "gemini" - Force Google AI Studio direct (requires: GOOGLE_API_KEY or GEMINI_API_KEY) # "ollama-cloud" - Ollama Cloud (requires: OLLAMA_API_KEY) # "codex" - Force Codex OAuth (requires: hermes model → Codex). diff --git a/hermes_cli/dashboard_register.py b/hermes_cli/dashboard_register.py index 33bf55832744..9f6809a5782f 100644 --- a/hermes_cli/dashboard_register.py +++ b/hermes_cli/dashboard_register.py @@ -155,7 +155,7 @@ def _register_self_hosted_client( if exc.code == 401: raise RuntimeError( "Nous Portal rejected the access token (401). " - "Try `hermes auth login nous` to re-authenticate." + "Try `hermes auth add nous` to re-authenticate." ) from exc if exc.code == 403: raise RuntimeError( @@ -251,7 +251,7 @@ def cmd_dashboard_register(args) -> None: except AuthError as exc: if getattr(exc, "relogin_required", False): print("✗ You're not logged into Nous Portal.") - print(" Run `hermes setup` (or `hermes auth login nous`) first, then retry.") + print(" Run `hermes setup` (or `hermes auth add nous`) first, then retry.") else: print(f"✗ Could not resolve a Nous Portal access token: {exc}") sys.exit(1) diff --git a/hermes_cli/gateway_enroll.py b/hermes_cli/gateway_enroll.py index 782d878caecd..88c7dfde566b 100644 --- a/hermes_cli/gateway_enroll.py +++ b/hermes_cli/gateway_enroll.py @@ -123,7 +123,7 @@ def _post_enroll( if exc.code == 401: raise RuntimeError( "Connector rejected the caller identity (401). Your Nous Portal " - "token could not be verified — try `hermes auth login nous` and retry." + "token could not be verified — try `hermes auth add nous` and retry." ) from exc if exc.code == 403: raise RuntimeError( @@ -185,7 +185,7 @@ def cmd_gateway_enroll(args) -> None: except AuthError as exc: if getattr(exc, "relogin_required", False): print("✗ You're not logged into Nous Portal.") - print(" Run `hermes setup` (or `hermes auth login nous`) first, then retry.") + print(" Run `hermes setup` (or `hermes auth add nous`) first, then retry.") else: print(f"✗ Could not resolve a Nous Portal access token: {exc}") sys.exit(1) diff --git a/infographic/auth-login-hint-fix/infographic.png b/infographic/auth-login-hint-fix/infographic.png new file mode 100644 index 000000000000..3ae2a4b85511 Binary files /dev/null and b/infographic/auth-login-hint-fix/infographic.png differ