From 7292ac6ca62f0690e80e92c4a397b0ac0641da7d Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 3 Mar 2026 00:19:50 -0800 Subject: [PATCH] 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 --- packages/services/voice-agent/src/plugins/speechmatics_stt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/services/voice-agent/src/plugins/speechmatics_stt.py b/packages/services/voice-agent/src/plugins/speechmatics_stt.py index f1b4fea..edcf9cb 100644 --- a/packages/services/voice-agent/src/plugins/speechmatics_stt.py +++ b/packages/services/voice-agent/src/plugins/speechmatics_stt.py @@ -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",