Repository navigation
fix: restore GPT-Live subscription calls and model-specific voices - #133079
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 30, 2026, 1:14 AM ET / 05:14 UTC. ClawSweeper reviewWhat this changesThe PR routes subscription-authenticated GPT-Live WebRTC calls through the ChatGPT backend, separates GPT-Live voices from GA voices, and exposes model-specific voice options in Talk settings. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessKeep this PR open: the new picker still falls back to GA voices for a supported mixed-case GPT-Live model, so a selected voice is silently replaced with Priority: P1 Review scores
Verification
How this fits togetherThe OpenAI plugin creates Talk sessions and validates their voice choice; the Gateway publishes provider capabilities and the Control UI renders those choices. Together they control what an operator can select before a realtime call is created. flowchart LR
A[Talk settings] --> B[Gateway capability catalog]
B --> C[OpenAI realtime provider]
C --> D[Model and voice validation]
D --> E[Subscription call request]
E --> F[OpenAI realtime service]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +24, Tests +101, Docs +7, Other 0. Total +132 across 24 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Preserve the separate GA and GPT-Live voice families, but resolve the provider-published voice map with the same canonical GPT-Live model identity accepted by the OpenAI provider, then cover a mixed-case stored model setting. Do we have a high-confidence way to reproduce the issue? Yes, from source: set a stored OpenAI model to Is this the best way to solve the issue? No: the provider and UI use different model-key normalization rules, so the model-specific picker repair is incomplete until its lookup shares the accepted GPT-Live identity. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1ab7b7533318. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Confirmed the ClawSweeper source-contract and rank-up item by directly reading the required sibling Codex checkout at
The saved-voice impact is intentional and documented: GA-only values cannot select a GPT-Live V3 voice, so the existing normalization contract now uses the correct default. The UI preserves the saved value, and configured voices are retained until the effective session model is known, so opposite-family request overrides do not lose a valid setting. No config rewrite or migration is added. The +24 production lines implement the distinct voice contract and generic model-specific catalog projection; the request owner shrinks. No route fallback, new engine, config setting, schema change, or protocol bump is introduced. The reviewer environment's missing checkout is not a remaining source-proof gap for this maintainer review. CI follow-through removes the moved validator's casts, reduces its old assertion baseline, and replaces a partial catalog test cast with a fully typed fixture. It also repairs the independently reproduced quota ownership E2E fixture exposed by #132972: supply a realistic assistant provider when switched-session metrics are absent, while preserving every delayed-auth assertion. Before: 4 pass/1 fail; after: all 5 pass. Final focused reviews are clean; landing still requires final-head CI. |
|
Merged via squash.
|
…penclaw#133079) * fix: restore GPT-Live subscription calls and model-specific voices * fix: describe GPT-Live Gateway relay in Talk setup * fix: type Talk catalog fixtures and simplify voice validation * test: identify the provider in the quota ownership fixture
Related: #115021, #119209, #119210
What Problem This Solves
Fixes an issue where users starting GPT-Live Talk with an OpenAI subscription login received a 403 even though the same account worked in Codex. The web voice picker also offered GA Realtime voices that Codex's GPT-Live V3 contract rejects.
Why This Change Was Made
The OpenAI plugin now creates OAuth GPT-Live calls using Codex's ChatGPT backend JSON contract, while keeping Platform call creation multipart and both authenticated sidebands on the public live endpoint. GPT-Live owns its nine voices and
covedefault; GA Realtime keeps its ten voices. The provider publishes model-specific choices through an optional catalog field, and the UI selects them from the current draft model without a save or another request.This repairs the provider and catalog owners without a route fallback, another voice engine, new configuration, database changes, or protocol-version changes. Existing custom voice settings remain visible. Unsupported GPT-Live voice values normalize to its documented default. The earlier blanket diagnosis of HTTP 403 is removed because the status alone cannot identify the denied input.
The older Vincent-owned #119209/#119210 stack addresses broader auth-order and catalog policy and explicitly disables GPT-Live OAuth pending proof. It is not equivalent to this live-proven repair and is left intact for its owner.
User Impact
After OpenAI sign-in in OpenClaw, configured browser and Gateway-relay GPT-Live sessions use the working subscription route and matching voice choices. Codex CLI sign-in remains separate; this adds no credential import or runtime fallback to Codex's credential store. Platform access is still required for Platform-only consumers.
Release-note context: OpenAI Talk: repair GPT-Live subscription call setup and show model-specific voice choices in the web settings picker.
Evidence
63d213884daea50e4f74efc192cdc44f549b67d5(refreshed latest main todde85b435b16994f956bce08e5fb796ed94c27fd; all cited realtime contract files are unchanged):codex-rs/codex-api/src/endpoint/realtime_call.rs(backend JSON versus Platform multipart),codex-rs/core/src/realtime_conversation.rs(V3 voice family and transport/auth preparation), andcodex-rs/protocol/src/protocol.rs(nine voices, defaultcove). The acting maintainer inspected these files directly.spruce.spruce, transcribed “Please reply with the single word glacier.”, answered “glacier”, received 231,346 PCM bytes, and emitted zero audio after close. Authentication stayed in memory through the canonical credential reader; no credential values or files are included. This proves provider audio and transcripts, not an agent delegation (none occurred).covedefault: exact input transcript, “Glacier.” reply, 244,786 PCM bytes, and zero audio after close.cfddfc2f700ea456c66b887d70716b83d3ac0ea2: the immutable installed release passed the default-voice speech round trip again (exact input transcript, “glacier” reply, 226,546 PCM bytes, zero audio after close). Managed Gateway deep health and web endpoints passed. This still uses test-only in-memory OAuth and is not a claim that the operator completed OpenClaw sign-in or browser microphone proof.0ad6527c8e3. Subsequent CI-only follow-through removes voice casts and completes the catalog test fixture; the exact failing core test-type stripe and assertion ratchet pass locally, along with 17 wire and 40 UI tests. Independent follow-through review is clean. Also fixed the independently reproduced quota-ownership E2E fixture exposed by fix(ui): show plan usage only for the session provider #132972: supply the selected provider through realistic assistant history while preserving all delayed-auth assertions. Before: 4 pass/1 fail; after: all 5 pass. Final-head CI run 33293925063 and requiredopenclaw/ci-gateare green at76378ddb777eacbe2c7f65c4247692b2f5830e97.Provenance: the incorrect public OAuth route/voice assumption is present in current main and its prior GPT-Live implementation. Exact upstream behavior-change timing is unknown; the same-account live differential is the repair evidence.
LOC: docs +54/-47 (net +7), tests +145/-44 (net +101), production +110/-86 (net +24). Production growth is limited to the separate upstream voice contract and generic model-to-voice catalog metadata; the call-request owner itself shrinks. There are no new config keys or persisted stores.
Follow-up discovered during live setup: immutable local Gateway deployment can leave the Chrome native-host launcher pinned to an older release. Reinstalling through the canonical extension installer repairs the current registration; the managed deploy owner should refresh an already-owned registration before pruning old releases. This is separate from the voice call failure.
Development UI evidence
Actual running Control UI with sanitized prior/current synthetic catalog fixtures on the final renderer. The prior catalog offers GA voices for GPT-Live; the current catalog offers GPT-Live voices. This is not an old binary or an authenticated voice session. Browser assertions verify all ten GA versus all nine GPT-Live choices, focus refresh, and an unsaved GA-to-GPT-Live model switch; zero page errors. Native select popups are not included in Chromium screenshots, so these images show selected values.