support assemblyai v3 (#475)

* support assemblyai v3

* update verb specification
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2025-07-01 15:48:00 -04:00
1 parent 9b4f1b67bf
commit 0ba69e872b
5 files changed
+12 -7

No files matched your search

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