The pairing trigger should only be triggered by the 401 status for the Mycroft hosted STT backends. Doing it for other STT's is only confusing. This creates the decorator 'requires_pairing' that can be applied to the STT modules where it's relevant. This adds the decorator to the MycroftSTT and the MycroftDeepSpeechSTT |
||
---|---|---|
.. | ||
__init__.py |