Ettore Di Giacinto
008f9fdf81
fix(realtime): end a client response cleanly when its commit fails
...
A client response.create waits for the in-flight commit before the LLM
starts. Two exits left the client without a usable outcome:
- When the wait was cancelled (response.cancel, a newer response or
teardown) the response returned with no event at all.
- When the commit produced no user item (transcription error, empty
transcript, voice gate rejection) the LLM ran on a history that
lacked the turn.
Send response.created and response.done with status cancelled for the
first case. For the second, do not run the LLM: send response.done with
status failed and an input_not_committed error. The commit still
reports its own cause. A response.create with no commit in flight is
unchanged. Add specs for STT error, empty transcript, cancel and
supersede during the wait.
Assisted-by: Claude Code:claude-sonnet-5-5
Signed-off-by: Ettore Di Giacinto <mudler@localai.io >
2026-10-13 08:44:23 +00:00
..
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-10-13 08:38:31 +00:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-10-13 08:38:31 +00:00
2026-10-01 08:25:52 +02:00
2026-09-22 17:19:58 +02:00
2026-05-08 16:25:45 +02:00
2026-05-08 16:25:45 +02:00
2026-05-14 08:53:46 +02:00
2026-05-22 10:13:41 +02:00
2026-05-26 08:34:26 +02:00
2026-05-22 10:13:41 +02:00
2026-05-25 23:55:35 +02:00
2026-09-11 22:44:39 +00:00
2026-09-09 22:21:32 +02:00
2026-10-02 23:58:41 +02:00
2026-07-22 09:29:11 +02:00
2026-07-22 09:29:11 +02:00
2026-06-30 09:01:53 +02:00
2026-10-05 23:45:14 +00:00
2026-10-07 14:10:45 +02:00
2026-05-25 09:28:27 +02:00
2026-08-18 09:37:43 +02:00
2026-03-11 08:05:50 +01:00
2026-09-18 23:28:14 +02:00
2026-07-08 16:45:43 +00:00
2026-06-30 09:01:53 +02:00
2026-05-25 10:51:48 +02:00
2026-05-25 10:51:48 +02:00
2026-10-11 00:30:09 +02:00
2026-10-11 00:30:09 +02:00
2026-07-05 08:51:55 +02:00
2026-08-03 18:03:46 +02:00
2026-08-03 18:03:46 +02:00
2026-03-11 08:05:50 +01:00
2026-06-11 08:43:12 +01:00
2026-06-11 08:43:12 +01:00
2026-09-27 07:42:20 +00:00
2026-07-29 12:50:22 +02:00
2026-10-13 08:44:23 +00:00
2026-10-13 08:44:22 +00:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-10-05 01:27:40 +02:00
2026-10-13 08:40:25 +00:00
2026-09-27 07:42:21 +00:00
2026-09-27 07:42:21 +00:00
2026-06-14 18:13:09 +02:00
2026-10-13 08:44:22 +00:00
2026-10-05 23:45:14 +00:00
2026-07-26 23:09:30 +02:00
2026-10-05 23:45:14 +00:00
2026-06-05 13:45:43 +00:00
2026-06-05 13:45:43 +00:00
2026-10-13 08:38:31 +00:00
2026-10-05 01:27:40 +02:00
2026-10-13 08:38:31 +00:00
2026-10-05 01:27:40 +02:00
2026-06-22 01:00:28 +02:00
2026-06-21 21:07:10 +02:00
2026-06-11 08:43:12 +01:00
2026-06-11 08:43:12 +01:00
2026-09-27 07:42:20 +00:00
2026-09-11 22:44:39 +00:00
2026-06-11 08:43:12 +01:00
2026-06-11 08:43:12 +01:00
2026-09-29 23:58:17 +02:00
2026-09-29 23:58:17 +02:00
2026-06-19 21:36:25 +02:00
2026-03-13 21:37:15 +01:00
2026-03-13 21:37:15 +01:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-10-13 08:44:22 +00:00
2026-06-30 09:01:22 +02:00
2026-07-29 12:50:22 +02:00
2026-09-09 10:38:23 +02:00
2026-10-05 23:46:06 +00:00
2026-10-05 01:27:40 +02:00
2026-10-01 08:25:52 +02:00
2026-07-29 12:50:22 +02:00
2026-07-03 18:00:37 +02:00
2026-08-11 18:37:49 +02:00
2026-08-11 18:37:49 +02:00
2026-08-29 21:28:37 +02:00
2026-06-19 21:36:25 +02:00
2026-06-19 21:36:25 +02:00
2026-08-29 21:28:37 +02:00
2026-10-13 08:44:23 +00:00
2026-09-27 07:42:21 +00:00
2026-07-07 21:16:25 +00:00
2026-10-07 16:57:23 +02:00
2026-10-11 00:30:09 +02:00
2026-10-11 00:30:09 +02:00