From 8b1bc7da16522d5a56fb1680bf4fc3e9d26f660a Mon Sep 17 00:00:00 2001 From: seven Date: Fri, 28 Mar 2025 18:26:16 +0800 Subject: [PATCH] add --- main/xiaozhi-server/core/connection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/xiaozhi-server/core/connection.py b/main/xiaozhi-server/core/connection.py index 2e281bba0..3a944b9ee 100644 --- a/main/xiaozhi-server/core/connection.py +++ b/main/xiaozhi-server/core/connection.py @@ -610,8 +610,10 @@ class ConnectionHandler: # Use the existing chat method if hasattr(self.tts, 'provider_name') and self.tts.provider_name == 'linkerai' and 'double_stream' in self.tts.stream_mode: + self.logger.bind(tag=TAG).info(f"self.tts.provider_name: { self.tts.provider_name} {self.tts.stream_mode}") self.chat_double_stream(text) else: + self.logger.bind(tag=TAG).info(f"self.tts.provider_name: single_stream") self.chat(text) # After chat is complete, close the connection