From 747f3be8674f0066464f0baecf5e4d6e15cb3d2a Mon Sep 17 00:00:00 2001 From: seven Date: Sat, 29 Mar 2025 18:12:52 +0800 Subject: [PATCH] add --- main/xiaozhi-server/core/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/core/connection.py b/main/xiaozhi-server/core/connection.py index 6befebc98..14482e1c9 100644 --- a/main/xiaozhi-server/core/connection.py +++ b/main/xiaozhi-server/core/connection.py @@ -609,7 +609,7 @@ class ConnectionHandler: try: # 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: + if 1:#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('你好') else: