Ensure intents_changed variable is always initialized (#121444)

This commit is contained in:
Paulus Schoutsen
2024-07-07 17:32:35 +02:00
committed by GitHub
parent fb8eeac563
commit eb0f6f7088

View File

@@ -649,6 +649,7 @@ class DefaultAgent(ConversationEntity):
language_variant = lang_intents.language_variant
supported_langs = set(get_languages())
intents_changed = False
if not language_variant:
# Choose a language variant upfront and commit to it for custom