support custom tts streaming vendor (#377)

This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2025-01-14 07:14:07 -05:00
1 parent 23cd4408a5
commit 89288acf6e
2 files changed
+5 -1

No files matched your search

+1
View File
@@ -624,6 +624,7 @@ function decryptCredential(obj, credential, logger, isObscureKey = true) {
obj.auth_token = isObscureKey ? obscureKey(o.auth_token) : o.auth_token;
obj.custom_stt_url = o.custom_stt_url;
obj.custom_tts_url = o.custom_tts_url;
obj.custom_tts_streaming_url = o.custom_tts_streaming_url;
} else if ('assemblyai' === obj.vendor) {
const o = JSON.parse(decrypt(credential));
obj.api_key = isObscureKey ? obscureKey(o.api_key) : o.api_key;