fix: force azure asr mode

This commit is contained in:
2026-05-19 10:31:31 +08:00
parent 5b44d35316
commit ff7bf00f6d
5 changed files with 49 additions and 22 deletions

View File

@@ -23,10 +23,12 @@ LLM_API_KEY=
# Model routing
ASR_BASE_URL=https://ai.skg.com/azure/v1
ASR_API_KEY=
ASR_MODEL=whisper-1
ASR_MODEL=gpt-4o-transcribe
ASR_REMOTE_ENABLED=true
ASR_LOCAL_FALLBACK_ENABLED=false
ASR_AUDIO_FALLBACK_ENABLED=false
ASR_FALLBACK_MODEL=gemini-2.5-flash
ASR_TIMEOUT_SECONDS=45
ASR_TIMEOUT_SECONDS=180
FASTER_WHISPER_MODEL=tiny.en
FASTER_WHISPER_DEVICE=cpu
FASTER_WHISPER_COMPUTE_TYPE=int8