ciyidogan commited on
Commit
acaa42c
·
verified ·
1 Parent(s): 6522c89

Update chat_session/state_orchestrator.py

Browse files
Files changed (1) hide show
  1. chat_session/state_orchestrator.py +2 -2
chat_session/state_orchestrator.py CHANGED
@@ -397,7 +397,7 @@ class StateOrchestrator:
397
  data={
398
  "locale": locale,
399
  "batch_mode": True, # ✅ Batch mode aktif
400
- "silence_threshold_ms": 2000 # 2 saniye sessizlik
401
  }
402
  ))
403
 
@@ -405,7 +405,7 @@ class StateOrchestrator:
405
  await self.event_bus.publish(Event(
406
  type=EventType.STT_READY,
407
  session_id=session_id,
408
- data={"ready_for_audio": True}
409
  ))
410
 
411
  async def _handle_stt_error(self, event: Event):
 
397
  data={
398
  "locale": locale,
399
  "batch_mode": True, # ✅ Batch mode aktif
400
+ "silence_threshold_ms": 1000 # 1 saniye sessizlik
401
  }
402
  ))
403
 
 
405
  await self.event_bus.publish(Event(
406
  type=EventType.STT_READY,
407
  session_id=session_id,
408
+ data={}
409
  ))
410
 
411
  async def _handle_stt_error(self, event: Event):