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