The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(gateway): 401 hint cites hermes auth add, not the removed hermes login
teknium17c6b29e1e4a4
diff --git a/gateway/run_turn.py b/gateway/run_turn.pyindex 3dc99cbb0ee..5f9808ce07b 100644--- a/gateway/run_turn.py+++ b/gateway/run_turn.py@@ -1824,10 +1824,10 @@ class GatewayTurnMixin:return response# Chat-side next steps keyed by HTTP status; Hermes commands only (/login is the gateway's own- # sign-in, `hermes login` / `hermes auth` the host equivalents).+ # sign-in, `hermes auth add <provider>` the host equivalent)._STATUS_HINTS = {401: (" Your sign-in to the AI model service has expired or the API key is wrong. "- "Use /login here, or run `hermes login` / `hermes auth` on the host."),+ "Use /login here, or run `hermes auth add <provider>` on the host."),402: " Your AI model service balance or quota is used up. Top it up on the service's website, or use /model to switch models.",529: " The AI model service is temporarily overloaded. Wait a moment, then use /retry.",}