AWSNovaSonicLLMService: add missing await
This commit is contained in:
@@ -429,7 +429,7 @@ class AWSNovaSonicLLMService(LLMService):
|
|||||||
await self._finish_connecting_if_context_available()
|
await self._finish_connecting_if_context_available()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"{self} initialization error: {e}")
|
logger.error(f"{self} initialization error: {e}")
|
||||||
self._disconnect()
|
await self._disconnect()
|
||||||
|
|
||||||
async def _finish_connecting_if_context_available(self):
|
async def _finish_connecting_if_context_available(self):
|
||||||
# We can only finish connecting once we've gotten our initial context and we're ready to
|
# We can only finish connecting once we've gotten our initial context and we're ready to
|
||||||
|
|||||||
Reference in New Issue
Block a user