This commit is contained in:
Nicolas Mowen 2026-04-03 16:45:40 -06:00
parent a613062c8f
commit 5868d2003b

View File

@ -202,9 +202,7 @@ class EmbeddingMaintainer(threading.Thread):
# post processors # post processors
self.post_processors: list[PostProcessorApi] = [] self.post_processors: list[PostProcessorApi] = []
if any( if any(c.review.genai.enabled_in_config for c in self.config.cameras.values()):
c.review.genai.enabled_in_config for c in self.config.cameras.values()
):
self.post_processors.append( self.post_processors.append(
ReviewDescriptionProcessor( ReviewDescriptionProcessor(
self.config, self.config,
@ -248,9 +246,7 @@ class EmbeddingMaintainer(threading.Thread):
) )
self.post_processors.append(semantic_trigger_processor) self.post_processors.append(semantic_trigger_processor)
if any( if any(c.objects.genai.enabled_in_config for c in self.config.cameras.values()):
c.objects.genai.enabled_in_config for c in self.config.cameras.values()
):
self.post_processors.append( self.post_processors.append(
ObjectDescriptionProcessor( ObjectDescriptionProcessor(
self.config, self.config,