From 215926de8870cb11afcd16c9641f2ea7e44841e2 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Fri, 5 Sep 2025 12:28:55 -0700 Subject: [PATCH] Fix status_response handling --- voicebot/webrtc_signaling.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/voicebot/webrtc_signaling.py b/voicebot/webrtc_signaling.py index bc2d0e3..a4f6f5c 100644 --- a/voicebot/webrtc_signaling.py +++ b/voicebot/webrtc_signaling.py @@ -642,6 +642,10 @@ class WebRTCSignalingClient: # Handle status_ok response from server logger.debug(f"Received status_ok from server with data: {data}") # This confirms the connection is healthy + elif msg_type == "status_response": + # Handle status_response from server (response to status_check) + logger.debug(f"Received status_response from server with data: {data}") + # This confirms the connection is healthy and provides session info elif msg_type == "chat_message": logger.info("Received chat message") try: