Add realtime audio device config

Add microphone and speaker selection config for realtime audio.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-02-25 17:06:40 -08:00
parent 9d7013eab0
commit 7063b84ff3
7 changed files with 331 additions and 17 deletions

View File

@@ -277,6 +277,32 @@
}
]
},
"RealtimeAudioToml": {
"additionalProperties": false,
"properties": {
"microphone": {
"type": "string"
},
"speaker": {
"type": "string"
}
},
"type": "object"
},
"RealtimeToml": {
"additionalProperties": false,
"properties": {
"audio": {
"allOf": [
{
"$ref": "#/definitions/RealtimeAudioToml"
}
],
"default": null
}
},
"type": "object"
},
"ConfigProfile": {
"additionalProperties": false,
"description": "Collection of common configuration options that a user can define as a unit in `config.toml`.",
@@ -1541,6 +1567,15 @@
"minimum": 0.0,
"type": "integer"
},
"realtime": {
"allOf": [
{
"$ref": "#/definitions/RealtimeToml"
}
],
"default": null,
"description": "Machine-local realtime audio device preferences used by realtime voice."
},
"chatgpt_base_url": {
"description": "Base URL for requests to ChatGPT (as opposed to the OpenAI API).",
"type": "string"