From 70e10ff75f8ce2dedd76da80240b4fbd89101f78 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Thu, 26 Oct 2023 12:18:05 -0700 Subject: [PATCH] More context validation debugging --- neon_speech/service.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neon_speech/service.py b/neon_speech/service.py index 832b6e0..ceb3948 100644 --- a/neon_speech/service.py +++ b/neon_speech/service.py @@ -142,6 +142,10 @@ def _validate_message_context(self, message: Message, native_sources=None): return OVOSDinkumVoiceService._validate_message_context(self, message, native_sources) + def _handle_listen(self, message: Message): + LOG.debug(f"handle listen context={message.context}") + OVOSDinkumVoiceService._handle_listen(self, message) + def run(self): if self.config.get('listener', {}).get('enable_voice_loop', True): OVOSDinkumVoiceService.run(self)