Skip to content

feat(openai): accept Codex v3 GPT-Live voices - #174084

Open
yousan wants to merge 1 commit into
openclaw:mainfrom
yousan:feat/gpt-live-codex-v3-voices
Open

yousan wants to merge 1 commit into
openclaw:mainfrom
yousan:feat/gpt-live-codex-v3-voices

Conversation

@yousan

@yousan yousan commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes: choosing one of the newer Codex GPT-Live voices (for example himari) for gpt-live-1-codex silently falls back to cove.

User Impact

User impact: Talk, Discord voice, and Voice Call on the Codex route can use the 16 voices Codex added to its realtime v3 list. The public gpt-live-1 route and its voice list are unchanged.

Why This Change Was Made

Codex expanded the realtime v3 (gpt-live-1-codex) voice list in openai/codex#52363 (RealtimeVoicesList::builtin().v3 in codex-rs/protocol/src/protocol.rs, checked at openai/codex@6ae8b8aa7c60). It adds aube, bubbie, haetsal, hanul, himari, leher, miko, neer, porto, rindo, rio, rivage, selva, sonna, tinta, and viola. OPENAI_GPT_LIVE_VOICES still listed only the original nine, so resolveOpenAIQuicksilverVoice replaced the new names with the default.

GPT-Live-1.1 (announced 2026-10-15) does not introduce a new Codex model id: Codex main still sets DEFAULT_FRAMELESS_REALTIME_MODEL = "gpt-live-1-codex" in codex-rs/core/src/realtime_conversation.rs. So this PR changes no model ids. The public API gpt-live-1 1.1 is not out yet, so nothing is added for it.

Evidence

  • pnpm test extensions/openai/realtime-quicksilver-wire-profile.test.ts extensions/openai/realtime-voice-browser-auth.test.ts extensions/openai/realtime-quicksilver.test.ts (rebased on main after test(memory,infra,gateway,agents,doctor,openai,chat,state): remove low-value tests (batch d408) #179894 moved the catalog voice-profile case into realtime-voice-browser-auth.test.ts): 3 files, 37 tests passed. The new case checks that himari is kept on gpt-live-1-codex and still falls back to marin on gpt-live-1.

  • Applied the same list change to a local 2026.10.2 install: resolveOpenAIQuicksilverVoiceCapabilities("gpt-live-1-codex") now returns all 25 voices, and resolveOpenAIQuicksilverVoice("gpt-live-1-codex", "himari") returns himari.

  • Base-fail / head-pass: with the same tests and the pre-PR realtime-quicksilver.ts, 2 of 37 fail (keeps Codex v3 voices on the Codex route only: expected himari, received cove; publishes gpt-live-1-codex with its own catalog voice profile). With this PR: 3 files, 37 tests pass.

  • Live Discord call, 2026-10-22, on a 2026.10.2 install with the same 16 voices added to its dist (gpt-live-1-codex, ChatGPT sign-in route, agent-proxy). The speaker asked to switch to himari mid-call; on the second request (the first was cancelled when a new utterance superseded the delegating turn, which ends its voice-control authority as documented), the realtime session reconnected with voice=himari and replied in that voice. The speaker confirmed the voice changed. Gateway log, IDs redacted:

    17:53:08.138 [discord] voice: realtime bridge starting mode=agent-proxy provider=openai model=gpt-live-1-codex voice=himari ...
    17:53:10.608 [discord] voice: realtime bridge ready mode=agent-proxy provider=openai model=gpt-live-1-codex voice=himari
    17:53:10.613 [discord] voice: voice changed guild=<G> voice=himari
    17:53:10.614 [ws] res ✓ talk.voice.set 2488ms
    17:53:10.858 [discord] voice: realtime lifecycle server:session.started
    17:53:19.487 [discord] voice: realtime assistant transcript (14 chars): <"switched to himari" in Japanese>
    17:53:28.396 [discord] voice: realtime assistant transcript (13 chars): <reply to a greeting>
    17:53:30.598 [discord] voice: participant left event queued ...
    

    No provider error or relay failure in that session. A recorder bot in the same channel captured about 5 s of bot speech after the switch (silencedetect at -45 dB: 55.3–57.3 s, 60.5–60.8 s, 64.8–66.5 s, 68.2–69.3 s of an 80 s recording; the switch completed at 50.1 s).

  • Separately, OpenAI GPT-Live gateway relay failed occurred on this host on 2026-10-20/21 with the original arbor voice as well as himari, so it does not appear specific to the new voices. It is being investigated separately and is not addressed here.

@clawsweeper

clawsweeper Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T10:05:17.080581Z 2ae85f2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation extensions: openai size: S labels Oct 16, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Adds 16 supported Codex GPT-Live voices to the existing resolver, model-specific catalog, and documentation.

Example: Select himari for gpt-live-1-codex.

  • Before: OpenClaw silently substitutes cove.
  • After: OpenClaw preserves himari; gpt-live-1 still substitutes marin.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Minimal complete repair with verified upstream values, preserved route boundaries, focused regression coverage, live production-path logs, and successful exact-head CI gate.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): Contributor-supplied redacted Gateway logs exercise the shared OpenAI voice owner through a live Discord call using ChatGPT sign-in on a 2026.10.2 installation with the same list expansion: himari reaches a ready realtime session and subsequent spoken replies; the speaker confirms the change.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Choosing a supported newer Codex voice silently plays cove instead.
Reason: The upstream contract confirms the missing values, and the repair preserves the established provider-owned selection policy.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR fixes a current voice-selection bug with a minimal shared-owner change, credible live-call evidence, and no actionable findings.

Priority: P2
Reviewed head: 97dea87d0ddcb476d61a3732784c0d3125f99324

Before merge

None.

Findings

None.

Agent review details

How this fits together

The OpenAI plugin turns model and voice selections from Talk, Discord, and Voice Call into catalog capabilities and provider session payloads.

flowchart LR
  A[Talk and voice channels] --> B[OpenAI provider]
  B --> C[Model specific voice resolver]
  C --> D[Voice catalog]
  C --> E[Session payload]
  E --> F[GPT Live service]
Loading

Technical review

Best possible solution:

Merge the focused provider-list repair while preserving the existing defaults and model-specific voice boundaries.

Do we have a high-confidence way to reproduce the issue?

Current-main source deterministically maps himari to cove on gpt-live-1-codex; the contributor additionally supplies base-fail/head-pass results and live-call evidence, without a reviewer execution.

Is this the best way to solve the issue?

Yes: expanding the existing provider-owned list repairs both session normalization and catalog discovery without another owner, configuration option, or routing change.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6ed337b3c222.

Provenance checked

  • Codex voice allowlist and fallback keeps the original intent (cfddfc2: Match Codex-supported voices and normalize unsupported values to cove.)
  • Model-specific catalog regression keeps the original intent (6e7e62c: Consolidate redundant tests while retaining distinct provider contracts.)
  • Shared voice documentation keeps the original intent (a0cd0b8: Document shared GPT-Live voice behavior across Talk and voice channels.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Exact introduced change: The pinned introduction adds voice names to the existing owner, updates its catalog expectation, adds a model-isolation regression, and updates the two relevant documentation pages. (extensions/openai/realtime-quicksilver.ts:43, 97dea87d0ddc)
  • Current main still needs the repair: Current main contains only the original nine Codex voices; the resolver replaces unsupported names with cove. Catalog capabilities and session construction already consume this shared owner. (extensions/openai/realtime-quicksilver.ts:33, 6ed337b3c222)
  • Authoritative upstream voice contract: The PR explicitly relies on Codex's realtime v3 contract. Personally inspected source at the cited revision confirms all 25 names; realtime_conversation.rs validates v3 against that list and retains gpt-live-1-codex. Upstream Expand realtime v3 voice support openai/codex#52363 is merged. The local sibling predates that expansion, so the exact cited revision was inspected through GitHub. (codex-rs/protocol/src/protocol.rs, 6ae8b8aa7c60)
  • Original intent and feature ownership: The merged fix: restore GPT-Live subscription calls and model-specific voices #133079 established provider-owned Codex voices and the cove fallback to match the upstream contract; this PR refreshes that contract without changing its policy. (extensions/openai/realtime-quicksilver.ts:34, cfddfc2f700e)
  • Contributor production-path evidence: The body records a live Discord call on a 2026.10.2 installation with the same list expansion: the bridge reconnects with voice=himari, reports session.started, and produces subsequent speech. It also records base-fail/head-pass regression results. Prepared screenshots were inspected; they show older Talk settings and are supplementary rather than proof of the new voice. (97dea87d0ddc)
  • Current merge state and checks: GitHub reports the reviewed head cleanly mergeable, superseding the previous conflict concern. Exact-head ci-gate, dependency-review, and security-sensitive-review statuses succeed; dispatch and PR context/evidence check runs are cancelled, with no demonstrated diff-caused failure. (97dea87d0ddc)

Likely related people:

  • Peter Steinberger: Raw commit cfddfc2 adds extensions/openai/realtime-quicksilver.ts:9 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: cfddfc2f700e; files: extensions/openai/realtime-quicksilver.ts)

PR surface

Source +16, Tests +35, Docs +4. Total +55 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 16 0 +16
Tests 2 36 1 +35
Docs 2 6 2 +4
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 58 3 +55

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Supported Codex voice selections silently become another voice, with limited impact and a focused repair.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-16T10:14:51.072Z sha 2ae85f2a1f3ca35cca73650b802df3441c96f0c1 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-22T21:09:27.540Z sha ff055fa32bd21127483cd9cc1996ccf4b242cef6 :: needs changes before merge. :: none

Reviewed October 28, 2026, 12:16 AM ET / 04:16 UTC (Revision 3).

@yousan

yousan commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Added real behavior proof to the description: a live Discord call on gpt-live-1-codex that switched to himari and replied in that voice (redacted gateway log and recording timings), plus a base-fail / head-pass run of the new tests. Also removed the agent-attribution trailers from the commit; the code is unchanged.

@yousan

yousan commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 22, 2026
Codex expanded the gpt-live-1-codex (realtime v3) voice list in
openai/codex#52363. OpenClaw still allowlisted only the original nine,
so selecting a new voice such as himari silently fell back to cove.
@yousan
yousan force-pushed the feat/gpt-live-codex-v3-voices branch from ff055fa to 97dea87 Compare October 22, 2026 22:04
@yousan

yousan commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 28, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation extensions: openai P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant