mirror of
https://github.com/openai/codex.git
synced 2026-05-01 01:47:18 +00:00
codex: send realtime transcript deltas only
Emit only the live transcript delta entries from realtime transcript notifications instead of the accumulated transcript snapshot, and update the v2 test and docs to match. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -213,16 +213,10 @@ async fn realtime_conversation_streams_v2_notifications() -> Result<()> {
|
||||
assert_eq!(second_transcript_update.thread_id, output_audio.thread_id);
|
||||
assert_eq!(
|
||||
second_transcript_update.transcript,
|
||||
vec![
|
||||
ThreadRealtimeTranscriptEntry {
|
||||
role: "user".to_string(),
|
||||
text: "delegate now".to_string(),
|
||||
},
|
||||
ThreadRealtimeTranscriptEntry {
|
||||
role: "assistant".to_string(),
|
||||
text: "working".to_string(),
|
||||
},
|
||||
]
|
||||
vec![ThreadRealtimeTranscriptEntry {
|
||||
role: "assistant".to_string(),
|
||||
text: "working".to_string(),
|
||||
}]
|
||||
);
|
||||
|
||||
let realtime_error =
|
||||
|
||||
Reference in New Issue
Block a user