fix backend TTS provider compatibility

This commit is contained in:
Xin Wang
2026-06-10 12:32:55 +08:00
parent ac3f4dd806
commit 4a948ee609
4 changed files with 15 additions and 5 deletions

View File

@@ -58,6 +58,7 @@ async def resolve_runtime_config(
# 模型/音色:凭证的模型ID优先
model=(llm.model_id if llm else ""),
asr=(stt.model_id if stt else ""),
tts_model=(tts.model_id if tts else ""),
voice=(tts.voice if tts else ""),
stt_language=(stt.language if stt else ""),
tts_speed=(tts.speed if tts else 1.0),