mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
Use ChatGPT account preferences for Codex voice chat (#63810)
## Why Codex stored voice selections in `realtime.voice` and supplied voice overrides when starting realtime sessions. Reading and saving the ChatGPT account preference lets Codex use the same voice selection as ChatGPT. ## What changed - Add experimental `account/voiceSettings/read` and `account/voiceSettings/write` methods. The terminal voice picker shows the selected voice and available display names, then saves the chosen voice ID to the connected app server's ChatGPT account, including when the server is remote. - Require ChatGPT sign-in for terminal voice chat and create its WebRTC calls through the ChatGPT backend. - Remove voice overrides from realtime session startup. Existing `realtime.voice` entries still parse but are ignored. ## Testing Cover voice picker loading and saving, remote catalog failures, the ChatGPT sign-in requirement for local calls, and omission of voice overrides from realtime call payloads. GitOrigin-RevId: 9e6f30b8020c47701d3c1604075063924f191685
This commit is contained in:
@@ -3202,46 +3202,6 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"RealtimeVoice": {
|
||||
"enum": [
|
||||
"alloy",
|
||||
"arbor",
|
||||
"ash",
|
||||
"aube",
|
||||
"ballad",
|
||||
"breeze",
|
||||
"bubbie",
|
||||
"cedar",
|
||||
"coral",
|
||||
"cove",
|
||||
"echo",
|
||||
"ember",
|
||||
"haetsal",
|
||||
"hanul",
|
||||
"himari",
|
||||
"juniper",
|
||||
"leher",
|
||||
"maple",
|
||||
"marin",
|
||||
"miko",
|
||||
"neer",
|
||||
"porto",
|
||||
"rindo",
|
||||
"rio",
|
||||
"rivage",
|
||||
"sage",
|
||||
"selva",
|
||||
"shimmer",
|
||||
"sol",
|
||||
"sonna",
|
||||
"spruce",
|
||||
"tinta",
|
||||
"vale",
|
||||
"verse",
|
||||
"viola"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ReasoningEffort": {
|
||||
"description": "A non-empty reasoning effort value advertised by the model.",
|
||||
"minLength": 1,
|
||||
|
||||
+15
@@ -7404,6 +7404,21 @@
|
||||
"title": "AccountUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"AccountVoiceOption": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"voice": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"voice"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ActivePermissionProfile": {
|
||||
"properties": {
|
||||
"extends": {
|
||||
|
||||
+15
@@ -394,6 +394,21 @@
|
||||
"title": "AccountUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"AccountVoiceOption": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"voice": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"voice"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ActivePermissionProfile": {
|
||||
"properties": {
|
||||
"extends": {
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type AccountVoiceOption = { voice: string, name: string, };
|
||||
@@ -13,6 +13,7 @@ export type { AccountTokenUsageDailyBucket } from "./AccountTokenUsageDailyBucke
|
||||
export type { AccountTokenUsageSummary } from "./AccountTokenUsageSummary";
|
||||
export type { AccountUpdateReason } from "./AccountUpdateReason";
|
||||
export type { AccountUpdatedNotification } from "./AccountUpdatedNotification";
|
||||
export type { AccountVoiceOption } from "./AccountVoiceOption";
|
||||
export type { ActivePermissionProfile } from "./ActivePermissionProfile";
|
||||
export type { AddCreditsNudgeCreditType } from "./AddCreditsNudgeCreditType";
|
||||
export type { AddCreditsNudgeEmailStatus } from "./AddCreditsNudgeEmailStatus";
|
||||
|
||||
Reference in New Issue
Block a user