From b6ee6c3116d2087882e4f0904d70b9a43d11a1f2 Mon Sep 17 00:00:00 2001 From: Lynn Date: Fri, 17 Jul 2026 16:29:57 +0800 Subject: [PATCH] Fix: sample_rate in siliconflow tts model call (#17043) --- rag/llm/tts_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rag/llm/tts_model.py b/rag/llm/tts_model.py index 197c21d282..becb8d3672 100644 --- a/rag/llm/tts_model.py +++ b/rag/llm/tts_model.py @@ -407,7 +407,7 @@ class SILICONFLOWTTS(HTTPBasedTTS): "input": text, "voice": f"{self.model_name}:{voice}", "response_format": "mp3", - "sample_rate": 123, + "sample_rate": 32000, "stream": True, "speed": 1, "gain": 0,