asrTimeout should not terminiate SH ASR

This commit is contained in:
xquanluu committed 2026-05-20 20:52:10 +07:00
1 parent cb581f9be7
commit ace41a39f7
2 files changed
+2 -16

No files matched your search

+2 -1
View File
@@ -1032,7 +1032,8 @@ class TaskGather extends SttTask {
this._startAsrTimer();
/* some STT engines will keep listening after a final response, so no need to restart */
if (!['soniox', 'aws', 'microsoft', 'deepgram', 'speechmatics'].includes(this.vendor) &&
if (!['soniox', 'aws', 'microsoft', 'deepgram', 'speechmatics', 'houndify', 'google', 'openai']
.includes(this.vendor) &&
!this.vendor.startsWith('custom')) {
this._startTranscribing(ep);
}