fix(gateway): improve /restart response with fallback instructions
This commit is contained in:
@@ -4179,7 +4179,7 @@ class GatewayRunner:
|
|||||||
self.request_restart(detached=True, via_service=False)
|
self.request_restart(detached=True, via_service=False)
|
||||||
if active_agents:
|
if active_agents:
|
||||||
return f"⏳ Draining {active_agents} active agent(s) before restart..."
|
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:
|
async def _handle_help_command(self, event: MessageEvent) -> str:
|
||||||
"""Handle /help command - list available commands."""
|
"""Handle /help command - list available commands."""
|
||||||
|
|||||||
Reference in New Issue
Block a user