mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-01 16:31:56 +08:00
When _resolve_tirith_path() returns None (e.g. install failed on unsupported platform or all resolution paths exhausted), the function passed None directly to subprocess.run(), causing a TypeError instead of respecting the fail_open config. Add a None check before the subprocess call that allows or blocks according to the configured fail_open policy, matching the existing error handling behavior for OSError and TimeoutExpired.
26 KiB
26 KiB