Skip to content

Commit

Permalink
Troubleshooting message context
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 2, 2023
1 parent df0b33a commit 3a7cf9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neon_minerva/integration/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def send_prompt(self, prompt: str):
{"neon_should_respond": True,
"source": ["minerva"],
"destination": ["skills"],
"timing": {"emitted": time()},
"timing": {"transcribed": time()},
"username": "minerva"}))

def handle_prompt(self, prompt: str):
Expand All @@ -123,5 +123,6 @@ def handle_prompt(self, prompt: str):
assert self._prompt_handled.wait(self._intent_timeout)
assert self._audio_output_done.wait(self._speak_timeout)
assert self._last_message is not None
LOG.info(self._last_message.context)
self._results.append(self._last_message.context["timing"])
LOG.debug(f"Handled {prompt}")

0 comments on commit 3a7cf9a

Please sign in to comment.