fix: use cmn instead of cmn_en for Speechmatics Voice Agent API

cmn_en bilingual code not supported by Voice Agent API, causes timeout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-03 00:19:50 -08:00
parent 17ff9d3ce0
commit 7292ac6ca6
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ logger = logging.getLogger(__name__)
# Map Whisper language codes to Speechmatics language codes
_LANG_MAP = {
"zh": "cmn_en",
"zh": "cmn",
"en": "en",
"ja": "ja",
"ko": "ko",