watchdog timers are disabled by default use enable_watchdog_timers

This commit is contained in:
Aleix Conchillo Flaqué
2025-06-25 13:36:52 -07:00
parent 327973657f
commit 357934a644
35 changed files with 256 additions and 102 deletions

View File

@@ -687,7 +687,9 @@ class GeminiMultimodalLiveLLMService(LLMService):
#
async def _receive_task_handler(self):
async for message in WatchdogAsyncIterator(self._websocket, reseter=self):
async for message in WatchdogAsyncIterator(
self._websocket, reseter=self, watchdog_enabled=self.watchdog_timers_enabled
):
evt = events.parse_server_event(message)
# logger.debug(f"Received event: {message[:500]}")
# logger.debug(f"Received event: {evt}")