Minor fixes

This commit is contained in:
Fabio Manganiello 2024-06-03 16:43:36 +02:00
parent 9ce776edfa
commit 3b7bdda990

View file

@ -803,6 +803,7 @@ def ai_assist(event: SpeechRecognizedEvent):
hooks = (
(re.compile(r"play (the)?music", re.IGNORECASE), play_music),
(re.compile(r"stop (the)?music", re.IGNORECASE), stop_music),
# ...
# Fallback to the AI assistant
(re.compile(r".*"), ai_assist),
)