mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
Add realtime connection mode to app-server protocol
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user