support disableTtsCache from config verb (#1410)

This commit is contained in:
Hoan Luu Huu
2025-10-28 19:19:03 +07:00
committed by GitHub
parent 0869a73052
commit 30ab281ea2
3 changed files with 22 additions and 1 deletions

View File

@@ -658,6 +658,15 @@ class CallSession extends Emitter {
}
}
// disableTtsCache
get disableTtsCache() {
return this._disableTtsCache || false;
}
set disableTtsCache(d) {
this._disableTtsCache = d;
}
getTsStreamingVendor() {
let v;
if (this.currentTask?.isStreamingTts) {