mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-06 10:47:12 +08:00
_SupervisorRegistry.get_or_start() returned an existing supervisor whenever the cdp_url matched, without checking if the supervisor's thread or event loop was still alive. A crashed supervisor would be silently reused, causing missed dialog/frame updates. Now checks both _thread.is_alive() and _loop.is_running() before returning the cached instance. An unhealthy supervisor is torn down and recreated, matching the existing URL-changed code path.
55 KiB
55 KiB