From 3a7cf9aa96bf938d3c17f2ec168e9809e9cc959b Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Mon, 2 Oct 2023 14:36:25 -0700 Subject: [PATCH] Troubleshooting message context --- neon_minerva/integration/text.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neon_minerva/integration/text.py b/neon_minerva/integration/text.py index 0d20b99..52a7422 100644 --- a/neon_minerva/integration/text.py +++ b/neon_minerva/integration/text.py @@ -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): @@ -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}")