feat(chat): add SiliconFlow ASR for agent voice input

Replace Web Speech API with MediaRecorder upload to POST /api/speech/transcribe, calling SenseVoice via the existing GJL API credentials.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
sophieandCursor committed 2026-06-03 19:24:35 +08:00
1 parent 445763e144
commit 8f69131872
9 files changed
+350 -215

No files matched your search

+2
View File
@@ -68,6 +68,8 @@ DIFY_API_BASE=https://api.dify.ai/v1
GJL_API_KEY=sk-umfzicwjcvwampzblqczckkqojiscyybtaljzbsvpdwdvxlu
GJL_API_BASE=https://api.siliconflow.cn/v1
GJL_MODEL=deepseek-ai/DeepSeek-V3
# 硅基流动 ASR:FunAudioLLM/SenseVoiceSmall 或 TeleAI/TeleSpeechASR
ASR_MODEL=FunAudioLLM/SenseVoiceSmall
# HR SQL Server Configuration
HR_SQLSERVER_HOST=192.168.100.191