mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-30 01:41:43 +00:00
fix(agent): add debug diagnostics for empty model responses
This commit is contained in:
parent
00c3d848d8
commit
38dab6dff4
9 changed files with 53 additions and 13 deletions
|
|
@ -2988,8 +2988,9 @@ def _kill_orphaned_mcp_children() -> None:
|
|||
except (ProcessLookupError, PermissionError, OSError):
|
||||
pass
|
||||
|
||||
# Phase 2: Wait for graceful exit
|
||||
_time.sleep(2)
|
||||
# Phase 2: Wait for graceful exit (skip if nothing was signalled)
|
||||
if pids:
|
||||
_time.sleep(2)
|
||||
|
||||
# Phase 3: SIGKILL any survivors
|
||||
_sigkill = getattr(_signal, "SIGKILL", _signal.SIGTERM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue