[WIP] AWS Nova Sonic service - minor fix
This commit is contained in:
@@ -669,7 +669,7 @@ class AWSNovaSonicLLMService(LLMService):
|
|||||||
# The overall completion is wrapped by "completionStart" and "completionEnd" events.
|
# The overall completion is wrapped by "completionStart" and "completionEnd" events.
|
||||||
async def _receive_task_handler(self):
|
async def _receive_task_handler(self):
|
||||||
try:
|
try:
|
||||||
while self._client and not self._disconnecting:
|
while self._stream and not self._disconnecting:
|
||||||
output = await self._stream.await_output()
|
output = await self._stream.await_output()
|
||||||
result = await output[1].receive()
|
result = await output[1].receive()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user