mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
fix(gateway): improve /restart response with fallback instructions
This commit is contained in:
parent
276d20e62c
commit
964ef681cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue