From 294a3e405c2990c7f0c9d26e585932d3ee27c424 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 6 Feb 2026 07:55:06 +0800 Subject: [PATCH 1/2] sentences ends update --- core/duplex_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/duplex_pipeline.py b/core/duplex_pipeline.py index 8a0211f..c81f61b 100644 --- a/core/duplex_pipeline.py +++ b/core/duplex_pipeline.py @@ -415,7 +415,7 @@ class DuplexPipeline: # Sentence buffer for streaming TTS sentence_buffer = "" - sentence_ends = {'.', '!', '?', '。', '!', '?', ';', '\n'} + sentence_ends = {'。', '!', '?', '\n'} first_audio_sent = False # Stream LLM response and TTS sentence by sentence From d9dc14d03a3f6450f103131344fe4d0bf014b735 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 6 Feb 2026 07:58:54 +0800 Subject: [PATCH 2/2] update sentences ends --- core/duplex_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/duplex_pipeline.py b/core/duplex_pipeline.py index c81f61b..8ead740 100644 --- a/core/duplex_pipeline.py +++ b/core/duplex_pipeline.py @@ -415,7 +415,7 @@ class DuplexPipeline: # Sentence buffer for streaming TTS sentence_buffer = "" - sentence_ends = {'。', '!', '?', '\n'} + sentence_ends = {',', '。', '!', '?', '\n'} first_audio_sent = False # Stream LLM response and TTS sentence by sentence