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:
parent
17ff9d3ce0
commit
7292ac6ca6
|
|
@ -16,7 +16,7 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
# Map Whisper language codes to Speechmatics language codes
|
# Map Whisper language codes to Speechmatics language codes
|
||||||
_LANG_MAP = {
|
_LANG_MAP = {
|
||||||
"zh": "cmn_en",
|
"zh": "cmn",
|
||||||
"en": "en",
|
"en": "en",
|
||||||
"ja": "ja",
|
"ja": "ja",
|
||||||
"ko": "ko",
|
"ko": "ko",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue