feat(voice): add dashscope & zhipu ASR, in-page mic input

This commit is contained in:
zhayujie
2026-05-20 22:36:37 +08:00
parent fff7326209
commit 2b90f377e6
9 changed files with 786 additions and 34 deletions

View File

@@ -58,4 +58,12 @@ def create_voice(voice_type):
from voice.minimax.minimax_voice import MinimaxVoice
return MinimaxVoice()
elif voice_type == "dashscope":
from voice.dashscope.dashscope_voice import DashScopeVoice
return DashScopeVoice()
elif voice_type == "zhipu" or voice_type == "zhipuai":
from voice.zhipuai.zhipuai_voice import ZhipuAIVoice
return ZhipuAIVoice()
raise RuntimeError