fix migration

This commit is contained in:
2026-06-16 09:59:39 +03:00
parent 2f892bef19
commit c69186c13b
5 changed files with 50 additions and 23 deletions
+4 -1
View File
@@ -7,4 +7,7 @@ async def embed_texts(texts: list[str]) -> list[list[float]]:
if not texts:
return []
client = LLMClient()
return await client.embed(texts)
try:
return await client.embed(texts)
finally:
await client.aclose()