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
..
2026-09-24 22:30:59 +05:30
2026-09-22 15:52:23 +05:30
2026-09-23 08:09:47 -07:00
2026-09-23 16:20:19 +05:30
2026-09-20 20:13:19 -07:00
2026-09-23 06:03:10 -07:00
2026-09-23 21:26:49 +05:30
2026-09-23 21:26:49 +05:30
2026-09-23 08:25:28 -07:00
2026-09-23 14:55:08 -07:00
2026-09-20 17:01:05 -07:00
2026-09-24 13:58:24 +05:30
2026-09-23 07:09:45 -07:00
2026-09-21 05:06:45 -07:00
2026-09-21 02:08:18 -07:00
2026-09-21 02:08:18 -07:00
2026-09-23 06:46:02 -07:00
2026-09-20 14:22:58 -07:00
2026-09-20 12:18:03 -07:00
2026-09-23 18:29:35 -05:00
2026-09-23 21:47:15 +05:30
2026-09-18 22:36:24 -07:00
2026-09-23 21:26:49 +05:30
2026-09-23 07:48:32 -07:00
2026-09-22 15:54:29 +05:30
2026-09-23 10:41:08 -07:00
2026-09-23 04:44:31 -07:00
2026-09-23 06:31:43 -07:00
2026-09-20 17:01:05 -07:00
2026-09-20 15:30:45 -07:00
2026-09-21 02:58:40 -07:00
2026-09-22 16:15:34 +05:30
2026-09-23 14:55:08 -07:00
2026-09-24 02:41:14 -05:00
2026-09-22 09:50:22 -07:00
2026-09-23 08:25:28 -07:00
2026-09-24 22:26:11 +05:30
2026-09-23 14:55:08 -07:00
2026-09-19 01:28:23 -07:00
2026-09-20 18:46:47 -07:00
2026-09-23 16:58:39 -07:00
2026-09-19 01:28:23 -07:00
2026-09-19 01:28:23 -07:00
2026-09-24 13:58:24 +05:30
2026-09-19 10:38:30 -07:00
2026-09-20 18:50:27 +05:30
2026-09-19 02:28:50 -07:00
2026-09-23 14:55:08 -07:00
2026-09-19 02:28:50 -07:00
2026-09-20 12:48:26 -07:00
2026-09-23 21:26:49 +05:30
2026-09-19 01:31:49 -07:00
2026-09-23 17:09:54 -07:00
2026-09-19 23:36:24 -07:00
2026-09-20 13:37:10 -07:00
2026-09-23 04:44:31 -07:00
2026-09-23 22:22:32 +05:30
2026-09-19 09:40:23 -07:00
2026-09-23 15:05:44 -07:00
2026-09-23 06:24:19 -07:00
2026-09-22 15:54:29 +05:30
2026-09-24 22:28:19 +05:30
2026-09-24 22:27:32 +05:30
2026-09-24 22:27:32 +05:30
2026-09-19 03:35:50 -07:00
2026-09-20 00:09:14 -07:00