From 7ee9f23ed33cc83edf202ef24f3ab681e50be5e1 Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Wed, 31 Jul 2024 22:47:46 +0800 Subject: [PATCH] fix: tts no response --- agents/addon/extension/cosy_tts/cosy_tts_extension.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agents/addon/extension/cosy_tts/cosy_tts_extension.py b/agents/addon/extension/cosy_tts/cosy_tts_extension.py index 79ecfcd8..894bdd16 100644 --- a/agents/addon/extension/cosy_tts/cosy_tts_extension.py +++ b/agents/addon/extension/cosy_tts/cosy_tts_extension.py @@ -206,8 +206,9 @@ def async_handle(self, rte: RteEnv): callback=callback, ) - logger.info("on message %s", inputText) + logger.info("on message [%s]", inputText) tts.streaming_call(inputText) + tts.streaming_complete() except Exception as e: logger.exception(e) logger.exception(traceback.format_exc())