From ffb5605c999224575d674f9011db4c2f41422a86 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Mon, 9 Jun 2025 23:38:15 +0800 Subject: [PATCH] fix: default tts provider selection Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- astrbot/core/provider/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/provider/manager.py b/astrbot/core/provider/manager.py index d8bc302d..8baec0cb 100644 --- a/astrbot/core/provider/manager.py +++ b/astrbot/core/provider/manager.py @@ -152,7 +152,7 @@ class ProviderManager: self.curr_stt_provider_inst = self.stt_provider_insts[0] self.curr_tts_provider_inst = self.inst_map.get( - self.provider_settings.get("provider_id") + self.provider_tts_settings.get("provider_id") ) if not self.curr_tts_provider_inst and self.tts_provider_insts: self.curr_tts_provider_inst = self.tts_provider_insts[0]