Don't filter nevermind for fallback (#141294)

This commit is contained in:
Michael Hansen 2025-03-24 11:26:35 -05:00 committed by GitHub
parent 9fdb69c558
commit 4472dc533d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ SAVE_DELAY = 10
@callback
def _async_local_fallback_intent_filter(result: RecognizeResult) -> bool:
"""Filter out intents that are not local fallback."""
return result.intent.name in (intent.INTENT_GET_STATE, intent.INTENT_NEVERMIND)
return result.intent.name in (intent.INTENT_GET_STATE)
@callback

View File

@ -684,7 +684,7 @@ def test_fallback_intent_filter() -> None:
entities_list=[],
)
)
is True
is False
)
assert (
_async_local_fallback_intent_filter(