mirror of
https://github.com/openai/codex.git
synced 2026-04-25 15:15:15 +00:00
Forward live realtime transcript updates
Emit transcript update notifications from realtime transcript deltas instead of waiting for handoff. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -3068,33 +3068,6 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadRealtimeTranscriptAddedNotification": {
|
||||
"description": "EXPERIMENTAL - flat transcript snapshot emitted when realtime hands off to the main agent.",
|
||||
"properties": {
|
||||
"handoffId": {
|
||||
"type": "string"
|
||||
},
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
"transcript": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadRealtimeTranscriptEntry"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"handoffId",
|
||||
"itemId",
|
||||
"threadId",
|
||||
"transcript"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadRealtimeTranscriptEntry": {
|
||||
"properties": {
|
||||
"role": {
|
||||
@@ -3110,6 +3083,25 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadRealtimeTranscriptUpdatedNotification": {
|
||||
"description": "EXPERIMENTAL - flat transcript snapshot emitted whenever realtime transcript text changes.",
|
||||
"properties": {
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
"transcript": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadRealtimeTranscriptEntry"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"threadId",
|
||||
"transcript"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadStartedNotification": {
|
||||
"properties": {
|
||||
"thread": {
|
||||
@@ -4611,20 +4603,20 @@
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"thread/realtime/transcriptAdded"
|
||||
"thread/realtime/transcriptUpdated"
|
||||
],
|
||||
"title": "Thread/realtime/transcriptAddedNotificationMethod",
|
||||
"title": "Thread/realtime/transcriptUpdatedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/ThreadRealtimeTranscriptAddedNotification"
|
||||
"$ref": "#/definitions/ThreadRealtimeTranscriptUpdatedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Thread/realtime/transcriptAddedNotification",
|
||||
"title": "Thread/realtime/transcriptUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user