jiayuhuang-openai
025db22058
Route realtime V3 handoffs by response channel ( #33903 )
...
## What changed
- Add `codexResponseHandoffMode` to `thread/realtime/start` for V3 sessions, with `thinking` as the default and `commentary` and `bemTags` routing modes.
- Map BEM `analysis` and `commentary` output to the commentary channel and `final` output to the speakable channel, while preserving the original BEM envelope. Unrecognized output falls back to speakable.
- Mark explicit speech appends as speakable and stop adding the legacy `"Agent Final Message"` prefix to V3 handoffs. V1 and V2 continue to ignore the new setting.
## Testing
- Cover channel selection for every routing mode, streamed BEM header parsing, fallback behavior, explicit speech, and V1 compatibility.
GitOrigin-RevId: 1974578257488f2914b252c9c1990ba38831c96b
2026-07-17 21:12:40 +00:00
..
2026-07-17 15:33:32 +00:00
2026-06-25 18:15:48 -07:00
2026-07-17 15:23:35 +00:00
2026-07-16 16:43:38 +00:00
2026-07-16 17:46:36 +00:00
2026-07-08 14:13:59 -07:00
2026-07-09 00:17:38 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-16 04:45:05 +00:00
2026-07-08 00:15:49 +00:00
2026-05-28 14:54:39 -07:00
2026-07-06 10:17:15 -07:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-15 05:21:13 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 01:49:16 +00:00
2026-06-27 19:34:10 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 14:13:59 -07:00
2026-07-17 21:12:40 +00:00
2026-07-08 14:13:59 -07:00
2026-07-17 16:14:36 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 14:13:59 -07:00
2026-07-15 20:59:21 +00:00
2026-07-16 19:31:26 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 00:15:49 +00:00
2026-07-15 10:18:51 +00:00
2026-07-14 04:41:08 +00:00
2026-07-08 00:15:49 +00:00
2026-07-17 19:58:56 +00:00
2026-07-10 16:11:58 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-09 12:16:15 -04:00
2026-07-17 20:02:51 +00:00
2026-07-17 20:02:51 +00:00
2026-07-17 20:02:51 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 22:43:26 +00:00
2026-07-17 21:12:40 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 00:15:49 +00:00
2026-07-15 21:25:24 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-15 15:29:13 +00:00
2026-07-08 00:15:49 +00:00
2026-07-17 15:45:48 +00:00
2026-07-14 04:41:08 +00:00
2026-07-17 19:58:56 +00:00
2026-07-08 14:13:59 -07:00
2026-07-14 21:01:54 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-15 02:35:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-05-12 18:40:53 -07:00
2026-07-15 21:25:24 +00:00
2026-07-16 01:23:52 +00:00
2026-07-15 15:29:13 +00:00
2026-07-14 04:41:08 +00:00
2026-07-08 14:13:59 -07:00
2026-07-15 15:29:13 +00:00
2026-07-14 00:38:04 +00:00
2026-07-15 21:25:24 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 14:13:59 -07:00
2026-07-17 15:18:47 +00:00
2026-07-16 04:45:05 +00:00
2026-07-08 14:13:59 -07:00
2026-07-16 19:31:26 +00:00
2026-07-08 00:15:49 +00:00