From 0cfc83bd329826101d7069f0130c6b8d838a335f Mon Sep 17 00:00:00 2001 From: seven Date: Sat, 29 Mar 2025 17:50:43 +0800 Subject: [PATCH] add --- main/xiaozhi-server/core/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/xiaozhi-server/core/connection.py b/main/xiaozhi-server/core/connection.py index 3a944b9ee..6befebc98 100644 --- a/main/xiaozhi-server/core/connection.py +++ b/main/xiaozhi-server/core/connection.py @@ -611,10 +611,10 @@ class ConnectionHandler: 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) + self.chat_double_stream('你好') else: self.logger.bind(tag=TAG).info(f"self.tts.provider_name: single_stream") - self.chat(text) + self.chat('你好') # After chat is complete, close the connection self.close_after_chat = True