Ensure `intents_changed` variable is always initialized (#121444)

pull/120824/head
Paulus Schoutsen 2024-07-07 17:32:35 +02:00 committed by GitHub
parent fb8eeac563
commit eb0f6f7088
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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