mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-17 04:11:35 +00:00
The salvaged mark-then-interrupt path covers every run whose agent exists. A run whose executor task was created but has not taken its first tick has no agent to interrupt: _execute_run would re-persist `running` over the shutdown mark and start a full turn that outlives the gateway (only forced to `interrupted` when it finally returned). Check the shutdown set before the `running` transition and finish immediately. Docs: `interrupted` joins the terminal status vocabulary for /v1/runs. Co-authored-by: Mark Rockminster <[email protected]>
1 line
12 B
Text
1 line
12 B
Text
rockminster
|