mirror of
https://github.com/openai/codex.git
synced 2026-04-29 17:06:51 +00:00
Add realtime connection mode to app-server protocol
This commit is contained in:
@@ -10608,6 +10608,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"RealtimeConnection": {
|
||||
"enum": [
|
||||
"text",
|
||||
"audio"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"RealtimeConversationVersion": {
|
||||
"enum": [
|
||||
"v1",
|
||||
@@ -10615,6 +10622,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"RealtimeTranscriptUpdateKind": {
|
||||
"enum": [
|
||||
"delta",
|
||||
"done"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"RealtimeVoice": {
|
||||
"enum": [
|
||||
"alloy",
|
||||
@@ -13963,22 +13977,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/v2/RealtimeTranscriptUpdateKind"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"role",
|
||||
"text",
|
||||
"threadId"
|
||||
"threadId",
|
||||
"updateKind"
|
||||
],
|
||||
"title": "ThreadRealtimeTranscriptUpdatedNotification",
|
||||
"type": "object"
|
||||
|
||||
Reference in New Issue
Block a user