Lightweight coding agent that runs in your terminal
Rust
don't add transcript for v2 realtime (#15111)
Ahmed Ibrahimb306885bd8ea
diff --git a/codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs b/codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rsindex c78bac4321..10c72d72be 100644--- a/codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs+++ b/codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs@@ -408,7 +408,9 @@ impl RealtimeWebsocketEvents {append_transcript_delta(&mut active_transcript.entries, "assistant", delta);}RealtimeEvent::HandoffRequested(handoff) => {- handoff.active_transcript = std::mem::take(&mut active_transcript.entries);+ if self.event_parser == RealtimeEventParser::V1 {+ handoff.active_transcript = std::mem::take(&mut active_transcript.entries);+ }}RealtimeEvent::SessionUpdated { .. }| RealtimeEvent::AudioOut(_)