Skip to content

Commit

Permalink
More context validation debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 26, 2023
1 parent 7bc9f90 commit 70e10ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions neon_speech/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 70e10ff

Please sign in to comment.