ciyidogan commited on
Commit
372b8e6
·
verified ·
1 Parent(s): 60ca111

Update websocket_handler.py

Browse files
Files changed (1) hide show
  1. websocket_handler.py +5 -2
websocket_handler.py CHANGED
@@ -404,12 +404,15 @@ async def websocket_endpoint(websocket: WebSocket, session_id: str):
404
 
405
  # Initialize conversation
406
  realtime_session = RealtimeSession(session)
407
-
 
 
 
408
  # Send session started confirmation
409
  await websocket.send_json({
410
  "type": "session_started",
411
  "session_id": session_id,
412
- "stt_initialized": stt_initialized
413
  })
414
 
415
  # Send welcome message from session history
 
404
 
405
  # Initialize conversation
406
  realtime_session = RealtimeSession(session)
407
+
408
+ # STT'yi burada başlatmıyoruz, welcome mesajından sonra başlatacağız
409
+ log_info(f"⏳ STT initialization will be done after welcome message", session_id=session_id)
410
+
411
  # Send session started confirmation
412
  await websocket.send_json({
413
  "type": "session_started",
414
  "session_id": session_id,
415
+ "stt_initialized": False
416
  })
417
 
418
  # Send welcome message from session history