forked from platypush/platypush
[assistant.picovoice] _on_response_*
methods should have varargs.
This commit is contained in:
parent
2acf6ef3e9
commit
1cc2aaf5a4
1 changed files with 2 additions and 2 deletions
|
@ -530,12 +530,12 @@ class AssistantPicovoicePlugin(AssistantPlugin, RunnablePlugin):
|
||||||
def _get_tts_plugin(self) -> TtsPicovoicePlugin:
|
def _get_tts_plugin(self) -> TtsPicovoicePlugin:
|
||||||
return self.tts
|
return self.tts
|
||||||
|
|
||||||
def _on_response_render_start(self, text: Optional[str]):
|
def _on_response_render_start(self, text: Optional[str], *_, **__):
|
||||||
if self._assistant:
|
if self._assistant:
|
||||||
self._assistant.set_responding(True)
|
self._assistant.set_responding(True)
|
||||||
return super()._on_response_render_start(text)
|
return super()._on_response_render_start(text)
|
||||||
|
|
||||||
def _on_response_render_end(self):
|
def _on_response_render_end(self, *_, **__):
|
||||||
if self._assistant:
|
if self._assistant:
|
||||||
self._assistant.set_responding(False)
|
self._assistant.set_responding(False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue