support fetch tts/stt deepgram models from rest api (#457)

This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2025-05-28 09:59:02 -04:00
1 parent c7e279d0ee
commit bb5dba7c20
3 files changed
+104 -5

No files matched your search

+2 -1
View File
@@ -215,7 +215,8 @@ const encryptCredential = (obj) => {
if (!deepgram_stt_uri || !deepgram_tts_uri) {
assert(api_key, 'invalid deepgram speech credential: api_key is required');
}
const deepgramData = JSON.stringify({api_key, deepgram_stt_uri, deepgram_stt_use_tls, deepgram_tts_uri});
const deepgramData = JSON.stringify({api_key, deepgram_stt_uri,
deepgram_stt_use_tls, deepgram_tts_uri, model_id});
return encrypt(deepgramData);
case 'ibm':