Chroma fixes (#13902)

* Ensure descriptions saved in chroma are non-empty

* delete only existing ids in event cleanup

* add debug logging
This commit is contained in:
Josh Hawkins
2024-09-23 07:53:19 -05:00
committed by GitHub
parent fe57f7f489
commit 0f813962be
3 changed files with 13 additions and 5 deletions

View File

@@ -177,7 +177,7 @@ class EmbeddingMaintainer(threading.Thread):
camera_config, thumbnails, metadata
)
if description is None:
if not description:
logger.debug("Failed to generate description for %s", event.id)
return