From f1f4885cc54e78e34a255766c5fe3893119217ba Mon Sep 17 00:00:00 2001 From: mkbk Date: Fri, 19 Jun 2026 11:04:20 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=89=93=E6=96=AD=E5=85=A5=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D]=EF=BC=9A=E5=AE=8C=E6=88=90=E6=92=AD=E6=8A=A5?= =?UTF-8?q?=E6=89=93=E6=96=AD=E5=90=AF=E5=8A=A8=E6=9D=A1=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=EF=BC=8C=E5=8C=85=E5=90=AB=E5=8E=BB=E9=99=A4=E5=AE=9E?= =?UTF-8?q?=E6=97=B6=E8=BD=AC=E5=86=99=E7=A1=AC=E4=BE=9D=E8=B5=96=E5=92=8C?= =?UTF-8?q?=E5=9B=9E=E5=BD=92=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/owner_voice_pet/assistant_pipeline.py | 1 - tests/test_live_runtime.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/owner_voice_pet/assistant_pipeline.py b/src/owner_voice_pet/assistant_pipeline.py index 0ddd1d6..a67b101 100644 --- a/src/owner_voice_pet/assistant_pipeline.py +++ b/src/owner_voice_pet/assistant_pipeline.py @@ -560,7 +560,6 @@ class TurnController: return ( segment is not None and self.config.barge_in_enabled - and self.realtime_stt is not None and segment.duration_ms > self.config.barge_in_echo_guard_ms ) diff --git a/tests/test_live_runtime.py b/tests/test_live_runtime.py index e44c386..bfa3234 100644 --- a/tests/test_live_runtime.py +++ b/tests/test_live_runtime.py @@ -749,7 +749,7 @@ class LiveRuntimeTests(unittest.TestCase): wakeword=KeywordWakeWordProvider(), vad_recorder=VadRecorder(EnergyVadProvider(), min_duration_ms=40, end_silence_ms=40), stt=stt, - realtime_stt=MetadataSttProvider(), + realtime_stt=None, llm=llm, tts=SineTtsProvider(), context=ConversationContext(),