Skip to content

The agent that grows with you

fix(auth): drop duplicated retry hint from the Nous 5xx refresh message

kshitijk4poorf8b6075bccfc
diff --git a/hermes_cli/auth_nous.py b/hermes_cli/auth_nous.py
index f2fdb7a6a05..90ece5b1d6e 100644
--- a/hermes_cli/auth_nous.py
+++ b/hermes_cli/auth_nous.py
@@ -611,7 +611,7 @@ def _refresh_access_token(
return payload
if 500 <= response.status_code <= 599:
raise AuthError(
- f"Nous Portal is temporarily unavailable (HTTP {response.status_code}); retry shortly.",
+ f"Nous Portal is temporarily unavailable (HTTP {response.status_code}).",
provider="nous", code="temporarily_unavailable", retryable=True)
from hermes_cli.auth import _OAUTH_GRANT_DEAD_CODES
try: