From cd7ee16e50dc4b1ec653b2e359f562867564ad92 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 11 May 2026 14:22:40 -0500 Subject: [PATCH] fix genai roles in migration --- frigate/util/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/util/config.py b/frigate/util/config.py index 578ec18527..e5aec4bbcb 100644 --- a/frigate/util/config.py +++ b/frigate/util/config.py @@ -492,7 +492,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", "vision", "tools"] + genai["roles"] = ["embeddings", "descriptions", "chat"] new_config["genai"] = {"default": genai} # Remove deprecated sync_recordings from global record config