fix(config): 纠正 AliLLM 占位文案与 PaddleSpeech 协议说明

- AliLLM 的 api_key 占位误写成 deepseek,照抄会把错误 key 填进百炼(#3495)
- PaddleSpeechTTS 实际只实现 websocket,去掉 config/报错里对 http 的承诺(#3503)
This commit is contained in:
shinjiyu committed 2026-10-28 06:02:21 +08:00
1 parent d9c2e8c5d9
commit ccc77799d9
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -619,7 +619,7 @@ LLM:
# 可在这里找到你的 api_key https://bailian.console.aliyun.com/?apiKey=1#/api-key
base_url: https://dashscope.aliyuncs.com/compatible-mode/v1
model_name: qwen-flash
api_key: 你的deepseek web key
api_key: 你的api_key
temperature: 0.7 # 温度值
max_tokens: 500 # 最大生成token数
top_p: 1
@@ -1117,8 +1117,8 @@ TTS:
#SpeechServerDemo https://github.com/PaddlePaddle/PaddleSpeech/tree/develop/demos/speech_server
#流式传输请参考 https://github.com/PaddlePaddle/PaddleSpeech/wiki/PaddleSpeech-Server-WebSocket-API
type: paddle_speech
protocol: websocket # protocol choices = ['websocket', 'http']
url: ws://127.0.0.1:8092/paddlespeech/tts/streaming # TTS 服务的 URL 地址,指向本地服务器 [websocket默认ws://127.0.0.1:8092/paddlespeech/tts/streaming,http默认http://127.0.0.1:8090/paddlespeech/tts]
protocol: websocket # 当前仅实现 websocket
url: ws://127.0.0.1:8092/paddlespeech/tts/streaming # TTS 服务的 URL 地址,指向本地服务器 [websocket 默认 ws://127.0.0.1:8092/paddlespeech/tts/streaming]
spk_id: 0 # 发音人 ID,0 通常表示默认的发音人
speed: 1.0 # 语速,1.0 表示正常语速,>1 表示加快,<1 表示减慢
volume: 1.0 # 音量,1.0 表示正常音量,>1 表示增大,<1 表示减小
@@ -82,7 +82,7 @@ class TTSProvider(TTSProviderBase):
if self.protocol == "websocket":
return await self.text_streaming(text, output_file)
else:
raise ValueError("Unsupported protocol. Please use 'websocket' or 'http'.")
raise ValueError("Unsupported protocol. Please use 'websocket'.")
async def text_streaming(self, text, output_file):
try: