fix: TTS reads output in auto mode (don't skip when listening)
Deploy Dashboard / deploy (push) Successful in 1m0s
Deploy Dashboard / deploy (push) Successful in 1m0s
This commit is contained in:
@@ -168,7 +168,7 @@ export class VoiceSession {
|
|||||||
|
|
||||||
// --- TTS ---
|
// --- TTS ---
|
||||||
_onOutput() {
|
_onOutput() {
|
||||||
if (!this.ttsEnabled || this.listening) return;
|
if (!this.ttsEnabled || this.transcript) return;
|
||||||
clearTimeout(this._debounce);
|
clearTimeout(this._debounce);
|
||||||
this._debounce = setTimeout(() => this._readBuffer(), 2000);
|
this._debounce = setTimeout(() => this._readBuffer(), 2000);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user