From 8853c219277342af381e2756506327df38e58872 Mon Sep 17 00:00:00 2001 From: Hoan HL Date: Thu, 27 Nov 2025 15:28:26 +0700 Subject: [PATCH] wip --- lib/tasks/transcribe.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/transcribe.js b/lib/tasks/transcribe.js index e636d8c4..a25c7266 100644 --- a/lib/tasks/transcribe.js +++ b/lib/tasks/transcribe.js @@ -902,6 +902,8 @@ class TaskTranscribe extends SttTask { // We need to keep track the fallback is happened for each endpoint // override the canFallback and _initFallback methods to make sure that // we only fallback once per endpoint + // we want to keep track this on task level instead of endpoint level + // because the endpoint instance is used across multiple tasks. canFallback(ep) { const isHandledByPrimaryProvider = ep === this.ep ? this.isHandledByPrimaryProviderForEp1 : ep === this.ep2 ?