Log non-audio realtime events

This commit is contained in:
Ahmed Ibrahim
2026-03-04 16:14:35 -08:00
parent 4d21c1f5b8
commit aa1654df96

View File

@@ -326,7 +326,13 @@ pub(crate) async fn handle_start(
msg,
};
while let Ok(event) = events_rx.recv().await {
debug!(conversation_id = %sess_clone.conversation_id, "received realtime conversation event");
// if not audio out, log the event
if !matches!(event, RealtimeEvent::AudioOut(_)) {
info!(
event = ?event,
"received realtime conversation event"
);
}
let maybe_routed_text = match &event {
RealtimeEvent::HandoffRequested(handoff) => {
realtime_text_from_handoff_request(handoff)