mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(gateway): add hermes-gateway script pattern to PID detection
The _looks_like_gateway_process function was missing the hermes-gateway script pattern, causing dashboard to report gateway as not running even when the process was active. Patterns now cover all entry points: - hermes_cli.main gateway - hermes_cli/main.py gateway - hermes gateway - hermes-gateway (new) - gateway/run.py Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dad53205ea
commit
e67eb7ff4b
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ def _looks_like_gateway_process(pid: int) -> bool:
|
|||
"hermes_cli.main gateway",
|
||||
"hermes_cli/main.py gateway",
|
||||
"hermes gateway",
|
||||
"hermes-gateway",
|
||||
"gateway/run.py",
|
||||
)
|
||||
return any(pattern in cmdline for pattern in patterns)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue