mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Log realtime session id (#18571)
- Log the actual realtime session id when the session.updated event arrives.
This commit is contained in:
@@ -1278,8 +1278,11 @@ async fn handle_realtime_server_event(
|
|||||||
false
|
false
|
||||||
}
|
}
|
||||||
RealtimeEvent::Error(_) => true,
|
RealtimeEvent::Error(_) => true,
|
||||||
RealtimeEvent::SessionUpdated { .. }
|
RealtimeEvent::SessionUpdated { session_id, .. } => {
|
||||||
| RealtimeEvent::InputTranscriptDelta(_)
|
info!(realtime_session_id = %session_id, "realtime session updated");
|
||||||
|
false
|
||||||
|
}
|
||||||
|
RealtimeEvent::InputTranscriptDelta(_)
|
||||||
| RealtimeEvent::InputTranscriptDone(_)
|
| RealtimeEvent::InputTranscriptDone(_)
|
||||||
| RealtimeEvent::OutputTranscriptDelta(_)
|
| RealtimeEvent::OutputTranscriptDelta(_)
|
||||||
| RealtimeEvent::OutputTranscriptDone(_)
|
| RealtimeEvent::OutputTranscriptDone(_)
|
||||||
|
|||||||
Reference in New Issue
Block a user