Add realtime connection mode to app-server protocol

This commit is contained in:
Ahmed Ibrahim
2026-04-13 15:08:29 -07:00
parent ecdd733a48
commit 39af7aca71
33 changed files with 510 additions and 31 deletions

View File

@@ -7404,6 +7404,13 @@
}
]
},
"RealtimeConnection": {
"enum": [
"text",
"audio"
],
"type": "string"
},
"RealtimeConversationVersion": {
"enum": [
"v1",
@@ -7411,6 +7418,13 @@
],
"type": "string"
},
"RealtimeTranscriptUpdateKind": {
"enum": [
"delta",
"done"
],
"type": "string"
},
"RealtimeVoice": {
"enum": [
"alloy",
@@ -11811,22 +11825,27 @@
},
"ThreadRealtimeTranscriptUpdatedNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "EXPERIMENTAL - flat transcript delta emitted whenever realtime transcript text changes.",
"description": "EXPERIMENTAL - flat transcript update emitted whenever realtime transcript text changes or completes.",
"properties": {
"role": {
"type": "string"
},
"text": {
"description": "Delta text for delta updates; final complete text for done updates.",
"type": "string"
},
"threadId": {
"type": "string"
},
"updateKind": {
"$ref": "#/definitions/RealtimeTranscriptUpdateKind"
}
},
"required": [
"role",
"text",
"threadId"
"threadId",
"updateKind"
],
"title": "ThreadRealtimeTranscriptUpdatedNotification",
"type": "object"