Skip to content

Commit

Permalink
Troubleshooting test errors around prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 10, 2023
1 parent 1cd6436 commit aff0af7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion neon_minerva/integration/user_utterance.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def _audio_stopped(self, message):
Handle audio output finished
@param message: Message associated with completed audio playback
"""
LOG.debug("audio finished")
self._last_message = message
self._audio_output_done.set()

Expand All @@ -122,13 +123,15 @@ def _mic_listen(self, message):
Handle start listening (for prompts that trigger `get_response`)
@param message: Message associated with completed skill handler
"""
self._last_message = message
LOG.debug("`get_response` call")
# self._last_message = message
self._prompt_handled.set()

def _handler_complete(self, _):
"""
Handle skill execution complete (audio output may not be complete)
"""
LOG.debug("Skill Handler Complete")
self._prompt_handled.set()

def send_prompt(self, prompt: str):
Expand Down

0 comments on commit aff0af7

Please sign in to comment.