From a8db5074256483c17e26782cb9a617b02a3892f6 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 20 Dec 2025 08:58:48 -0600 Subject: [PATCH] ensure metrics are initialized if genai is enabled --- frigate/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/app.py b/frigate/app.py index 30259ad3d..fac7a08d9 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -100,6 +100,10 @@ class FrigateApp: ) if ( config.semantic_search.enabled + or any( + c.objects.genai.enabled or c.review.genai.enabled + for c in config.cameras.values() + ) or config.lpr.enabled or config.face_recognition.enabled or len(config.classification.custom) > 0