This commit is contained in:
seven 2025-03-28 18:08:19 +08:00
parent 0a2e99168e
commit ef8b05f8e9
2 changed files with 2 additions and 1 deletions

View file

@ -311,6 +311,7 @@ TTS:
# 天津话 # 天津话
# 普通话 # 普通话
# 文档地址:https://tts.linkerai.top/docs#/ # 文档地址:https://tts.linkerai.top/docs#/
# 密匙获取:https://linkerai.top/
type: linkerai type: linkerai
api_url: https://tts.linkerai.top/tts api_url: https://tts.linkerai.top/tts
voice: OUeAo1mhq6IBExi voice: OUeAo1mhq6IBExi

View file

@ -609,7 +609,7 @@ class ConnectionHandler:
try: try:
# Use the existing chat method # Use the existing chat method
if hasattr(self.tts, 'provider_name') and self.tts.provider_name == 'linkerai' and self.tts.stream_mode == 'double_stream': if hasattr(self.tts, 'provider_name') and self.tts.provider_name == 'linkerai' and 'double_stream' in self.tts.stream_mode:
self.chat_double_stream(text) self.chat_double_stream(text)
else: else:
self.chat(text) self.chat(text)