mirror of https://github.com/openclaw/openclaw.git
* feat: Implement paragraph boundary flushing in block streaming - Added `flushOnParagraph` option to `BlockReplyChunking` for immediate flushing on paragraph breaks. - Updated `EmbeddedBlockChunker` to handle paragraph boundaries during chunking. - Enhanced `createBlockReplyCoalescer` to support flushing on enqueue. - Added tests to verify behavior of flushing with and without `flushOnEnqueue` set. - Updated relevant types and interfaces to include `flushOnParagraph` and `flushOnEnqueue` options. * fix: Improve streaming behavior and enhance block chunking logic - Resolved issue with stuck typing indicator after streamed BlueBubbles replies. - Refactored `EmbeddedBlockChunker` to streamline fence-split handling and ensure maxChars fallback for newline chunking. - Added tests to validate new chunking behavior, including handling of paragraph breaks and fence scenarios. - Updated changelog to reflect these changes. * test: Add test for clamping long paragraphs in EmbeddedBlockChunker - Introduced a new test case to verify that long paragraphs are correctly clamped to maxChars when flushOnParagraph is enabled. - Updated logic in EmbeddedBlockChunker to handle cases where the next paragraph break exceeds maxChars, ensuring proper chunking behavior. * refactor: streamline logging and improve error handling in message processing - Removed verbose logging statements from the `processMessage` function to reduce clutter. - Enhanced error handling by using `runtime.error` for typing restart failures. - Updated the `applySystemPromptOverrideToSession` function to accept a string directly instead of a function, simplifying the prompt application process. - Adjusted the `runEmbeddedAttempt` function to directly use the system prompt override without invoking it as a function. |
||
|---|---|---|
| .. | ||
| .i18n | ||
| _layouts | ||
| assets | ||
| automation | ||
| channels | ||
| cli | ||
| concepts | ||
| debug | ||
| diagnostics | ||
| experiments | ||
| gateway | ||
| help | ||
| hooks | ||
| images | ||
| install | ||
| nodes | ||
| platforms | ||
| plugins | ||
| providers | ||
| refactor | ||
| reference | ||
| security | ||
| start | ||
| tools | ||
| web | ||
| zh-CN | ||
| CNAME | ||
| _config.yml | ||
| bedrock.md | ||
| brave-search.md | ||
| broadcast-groups.md | ||
| date-time.md | ||
| debugging.md | ||
| docs.json | ||
| environment.md | ||
| hooks.md | ||
| index.md | ||
| logging.md | ||
| multi-agent-sandbox-tools.md | ||
| network.md | ||
| northflank.mdx | ||
| perplexity.md | ||
| pi-dev.md | ||
| pi.md | ||
| plugin.md | ||
| prose.md | ||
| railway.mdx | ||
| render.mdx | ||
| scripts.md | ||
| testing.md | ||
| token-use.md | ||
| tts.md | ||
| tui.md | ||
| vps.md | ||
| whatsapp-openclaw.jpg | ||