更新 __init__.py

This commit is contained in:
jxxghp
2026-04-29 15:27:37 +08:00
committed by GitHub
parent 090dcacd30
commit 54d6c2ad4a

View File

@@ -354,7 +354,7 @@ class StreamingHandler:
last_char = visible_buffer[-1:] if visible_buffer.strip() else ""
prefix = ""
if self._buffer and last_char != "\n":
prefix = "\n"
prefix = "\n\n"
return f"{prefix}{summary}\n\n"
@staticmethod