AWSNovaSonicLLMService: add missing await

This commit is contained in:
Aleix Conchillo Flaqué
2025-09-26 15:58:05 -07:00
parent ee00ee5c57
commit 8f8d8ae0d8

View File

@@ -429,7 +429,7 @@ class AWSNovaSonicLLMService(LLMService):
await self._finish_connecting_if_context_available()
except Exception as e:
logger.error(f"{self} initialization error: {e}")
self._disconnect()
await self._disconnect()
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