[WIP] AWS Nova Sonic service - minor fix

This commit is contained in:
Paul Kompfner
2025-05-07 12:03:23 -04:00
parent b53f9235e4
commit 93c9cc4a0e

View File

@@ -669,7 +669,7 @@ class AWSNovaSonicLLMService(LLMService):
# The overall completion is wrapped by "completionStart" and "completionEnd" events.
async def _receive_task_handler(self):
try:
while self._client and not self._disconnecting:
while self._stream and not self._disconnecting:
output = await self._stream.await_output()
result = await output[1].receive()