feat: soften block streaming chunking

This commit is contained in:
Peter Steinberger committed 2026-01-03 16:48:26 +01:00
1 parent 53baba71fa
commit 9f8eeceae7
7 files changed
+270 -29

No files matched your search

+2
View File
@@ -83,6 +83,8 @@ 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`).
Control soft block chunking with `agent.blockStreamingChunk` (defaults to
800–1200 chars; prefers paragraph breaks, then newlines; sentences last).
## Configuration (minimal)