LeoYeAI/agent-master-skills / skills/bengii-gemini-fix
openclaw
FlaggedComprehensive guide for installing, configuring, operating, and troubleshooting OpenClaw — a self-hosted, multi-channel AI agent gateway. Use when the user asks about OpenClaw setup, configuration, channel management (WhatsApp/Telegram/Discord/Slack/iMessage/etc.), model provider setup, Gateway operations, multi-agent routing, security hardening, troubleshooting, or any maintenance task related to their local OpenClaw installation. Also use when encountering errors from `openclaw` CLI commands or the Gateway daemon.
references/streaming.md
View on GitHub# Streaming & Chunking
> Source: https://docs.openclaw.ai/concepts/streaming
## Block Streaming (Channel Messages)
- Assistant deltas are streamed from pi-agent-core.
- Block streaming emits partial replies to the chat channel as separate message "blocks".
- Controlled by `agents.defaults.blockStreamingDefault` (default: `"off"`).
- Break points: `text_end` or `message_end`.
## Chunking Algorithm (Low/High Bounds)
- Messages are split into chunks based on configurable low/high character bounds.
- `agents.defaults.blockStreamingChunk` controls chunk size parameters.
- Long replies are automatically split to stay within channel message limits.
## Coalescing (Merge Streamed Blocks)
- `agents.defaults.blockStreamingCoalesce`: merge multiple streamed blocks back into a single message after completion.
- Reduces notification noise while preserving progressive display during streaming.
## Human-Like Pacing Between Blocks
- Configurable delay between streamed blocks for a more natural chat experience.
- Typing indicators fire during delays.
## "Stream Chunks or Everything"
- When block streaming is off, the full reply is sent as a single message after completion.
- When on, partial chunks are sent progressively as they become available.
## Preview Streaming Modes
### Channel Mapping
Different channels support different preview modes:
| Channel | Preview Support |
|---|---|
| WebChat / Control UI | Full streaming preview |
| Telegram | Draft bubble editing |
| WhatsApp | No preview (blocks only) |
| Discord | Message editing |
### Runtime Behavior
- Streaming deltas are emitted as `assistant` events on the WS protocol.
- Clients choose whether to display real-time deltas or wait for blocks.
- Channel adapters handle the translation to channel-specific UX.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |