From db7db3de67de18f899a5c637503f8a2f0202b61d Mon Sep 17 00:00:00 2001 From: henson957 Date: Thu, 13 Aug 2026 13:28:17 +0800 Subject: [PATCH] fix(tts): reuse base tts_timeout config instead of hardcoded 15 --- main/xiaozhi-server/core/providers/tts/siliconflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/core/providers/tts/siliconflow.py b/main/xiaozhi-server/core/providers/tts/siliconflow.py index feefb9ae7..584c9654e 100644 --- a/main/xiaozhi-server/core/providers/tts/siliconflow.py +++ b/main/xiaozhi-server/core/providers/tts/siliconflow.py @@ -40,7 +40,7 @@ class TTSProvider(TTSProviderBase): try: response = requests.request( "POST", self.api_url, json=request_json, headers=headers, - timeout=15, + timeout=self.tts_timeout, ) if response.status_code != 200: raise Exception(