fix genai roles in migration

This commit is contained in:
Josh Hawkins 2026-05-11 14:22:40 -05:00
parent 84d7c79a2d
commit cd7ee16e50

View File

@ -492,7 +492,7 @@ def migrate_018_0(config: dict[str, dict[str, Any]]) -> dict[str, dict[str, Any]
genai = new_config.get("genai") genai = new_config.get("genai")
if genai and genai.get("provider"): if genai and genai.get("provider"):
genai["roles"] = ["embeddings", "vision", "tools"] genai["roles"] = ["embeddings", "descriptions", "chat"]
new_config["genai"] = {"default": genai} new_config["genai"] = {"default": genai}
# Remove deprecated sync_recordings from global record config # Remove deprecated sync_recordings from global record config