🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-07-01 16:22:13 +00:00
parent bb2a95e388
commit b369d12c90
4 changed files with 36 additions and 33 deletions

View File

@@ -135,7 +135,7 @@ class S4UStreamGenerator:
to_yield = punctuation_buffer + sentence
if to_yield.endswith((",", "")):
to_yield = to_yield.rstrip(",")
self.partial_response += to_yield
yield to_yield
punctuation_buffer = "" # 清空标点符号缓冲区