mirror of
https://github.com/openai/codex.git
synced 2026-04-23 22:24:57 +00:00
## Stack Position 2/4. Built on top of #14828. ## Base - #14828 ## Unblocks - #14829 - #14827 ## Scope - Port the realtime v2 wire parsing, session, app-server, and conversation runtime behavior onto the split websocket-method base. - Branch runtime behavior directly on the current realtime session kind instead of parser-derived flow flags. - Keep regression coverage in the existing e2e suites. --------- Co-authored-by: Codex <noreply@openai.com>
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"ThreadRealtimeAudioChunk": {
|
|
"description": "EXPERIMENTAL - thread realtime audio chunk.",
|
|
"properties": {
|
|
"data": {
|
|
"type": "string"
|
|
},
|
|
"itemId": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"numChannels": {
|
|
"format": "uint16",
|
|
"minimum": 0.0,
|
|
"type": "integer"
|
|
},
|
|
"sampleRate": {
|
|
"format": "uint32",
|
|
"minimum": 0.0,
|
|
"type": "integer"
|
|
},
|
|
"samplesPerChannel": {
|
|
"format": "uint32",
|
|
"minimum": 0.0,
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"data",
|
|
"numChannels",
|
|
"sampleRate"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "EXPERIMENTAL - streamed output audio emitted by thread realtime.",
|
|
"properties": {
|
|
"audio": {
|
|
"$ref": "#/definitions/ThreadRealtimeAudioChunk"
|
|
},
|
|
"threadId": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"audio",
|
|
"threadId"
|
|
],
|
|
"title": "ThreadRealtimeOutputAudioDeltaNotification",
|
|
"type": "object"
|
|
} |