Spaces:
Paused
Paused
Update chat_session/state_orchestrator.py
Browse files
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":
|
| 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={
|
| 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):
|