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:
Ahmed Ibrahim
2026-03-20 13:16:14 -07:00
parent 4125a6a05f
commit e30dfcac7b
16 changed files with 181 additions and 218 deletions

View File

@@ -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"
},
{