Skip to content

NVR with realtime local object detection for IP cameras

don't migrate embeddings as a valid role for genai providers (#24086)

Josh Hawkins271051f15b05
diff --git a/frigate/util/config.py b/frigate/util/config.py
index 3e093a9783..3c7f0ca8d9 100644
--- a/frigate/util/config.py
+++ b/frigate/util/config.py
@@ -533,7 +533,7 @@ def migrate_018_0(config: dict[str, dict[str, Any]]) -> dict[str, dict[str, Any]
genai = new_config.get("genai")
if genai and genai.get("provider"):
- genai["roles"] = ["embeddings", "descriptions", "chat"]
+ genai["roles"] = ["descriptions", "chat"]
new_config["genai"] = {"default": genai}
# Remove deprecated sync_recordings from global record config