fix: avoid duplicate block streaming

This commit is contained in:
Peter Steinberger
2026-01-03 17:10:47 +01:00
parent abff5e3b1f
commit 3bbdcaf87f
4 changed files with 15 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ current turn ends, then a new agent turn starts with the queued payloads. See
Block streaming sends completed assistant blocks as soon as they finish; disable
via `agent.blockStreamingDefault: "off"` if you only want the final response.
Tune the boundary via `agent.blockStreamingBreak` (`text_end` vs `message_end`).
Tune the boundary via `agent.blockStreamingBreak` (`text_end` vs `message_end`; defaults to text_end).
Control soft block chunking with `agent.blockStreamingChunk` (defaults to
8001200 chars; prefers paragraph breaks, then newlines; sentences last).