remove use_streaming from speech credential (#294)

* remove use_streaming from speech credential

* wip
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2024-02-20 08:01:33 -05:00
1 parent 32b317ae68
commit bd8fb2f9db
2 files changed
+2 -6

No files matched your search

-1
View File
@@ -430,7 +430,6 @@ function decryptCredential(obj, credential, logger, isObscureKey = true) {
obj.api_key = isObscureKey ? obscureKey(o.api_key) : o.api_key;
obj.model_id = o.model_id;
obj.options = o.options;
obj.use_streaming = o.use_streaming;
} else if (obj.vendor.startsWith('custom:')) {
const o = JSON.parse(decrypt(credential));
obj.auth_token = isObscureKey ? obscureKey(o.auth_token) : o.auth_token;