Skip to content

Route realtime V3 handoffs by response channel - #33903

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1974578257488f2914b252c9c1990ba38831c96b
Jul 17, 2026
Merged

Route realtime V3 handoffs by response channel#33903
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1974578257488f2914b252c9c1990ba38831c96b

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 17, 2026

Copy link
Copy Markdown

Route realtime V3 handoffs by response channel

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.
## 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
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/1974578257488f2914b252c9c1990ba38831c96b branch from 6a67da3 to 025db22 Compare July 17, 2026 21:13
@copyberry
copyberry Bot merged commit 025db22 into main Jul 17, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/1974578257488f2914b252c9c1990ba38831c96b branch July 17, 2026 21:15
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant