fix(gateway): improve /restart response with fallback instructions

This commit is contained in:
Teknium
2026-04-12 22:34:23 -07:00
parent 276d20e62c
commit 964ef681cf

View File

@ -4179,7 +4179,7 @@ class GatewayRunner:
self.request_restart(detached=True, via_service=False)
if active_agents:
return f"⏳ Draining {active_agents} active agent(s) before restart..."
return "♻ Restarting gateway..."
return "♻ Restarting gateway. If you aren't notified within 60 seconds, restart from the console with `hermes gateway restart`."
async def _handle_help_command(self, event: MessageEvent) -> str:
"""Handle /help command - list available commands."""