Files
hermes-agent/gateway
kshitijk4poor 3a271156f4 fix(api-server): make streamed chat-completion approvals resolvable via /v1/runs
Stamp owner + running status for the completion id so POST /v1/runs/{id}/approval
reaches the mapping instead of 404ing in _load_owned_run; retire it (terminal status via
terminal_run_status, owner release) from the single existing EOS done-callback through a
new _spawn_stream_agent on_done hook. Extract _approval_request_event (redact + choices +
_run_event envelope) for the runs bridge, session stream and chat completions; both new
surfaces park waiting_for_approval like /v1/runs. _run_agent reuses
_unregister_approval_notify.
2026-09-24 22:30:59 +05:30
..
…
…
…