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

This commit is contained in:
Josh Hawkins 2026-08-24 13:05:57 -05:00 committed by GitHub
parent 65fe6b610a
commit 271051f15b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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