Log realtime session id (#18571)

- Log the actual realtime session id when the session.updated event
arrives.
This commit is contained in:
Ahmed Ibrahim authored and GitHub committed 2026-04-19 11:23:25 -07:00
1 parent cce6002339
commit d556e68ff0
1 file changed
+5 -2
+5 -2
View File
@@ -1278,8 +1278,11 @@ async fn handle_realtime_server_event(
false
}
RealtimeEvent::Error(_) => true,
RealtimeEvent::SessionUpdated { .. }
| RealtimeEvent::InputTranscriptDelta(_)
RealtimeEvent::SessionUpdated { session_id, .. } => {
info!(realtime_session_id = %session_id, "realtime session updated");
false
}
RealtimeEvent::InputTranscriptDelta(_)
| RealtimeEvent::InputTranscriptDone(_)
| RealtimeEvent::OutputTranscriptDelta(_)
| RealtimeEvent::OutputTranscriptDone(_)