diff --git a/cli-config.yaml.example b/cli-config.yaml.example index 7bc2c4908..ea5ba6f80 100644 --- a/cli-config.yaml.example +++ b/cli-config.yaml.example @@ -339,6 +339,19 @@ session_reset: # explicitly want one shared "room brain" per group/channel. group_sessions_per_user: true +# ───────────────────────────────────────────────────────────────────────────── +# Gateway Streaming +# ───────────────────────────────────────────────────────────────────────────── +# Stream tokens to messaging platforms in real-time. The bot sends a message +# on first token, then progressively edits it as more tokens arrive. +# Disabled by default — enable to try the streaming UX on Telegram/Discord/Slack. +streaming: + enabled: false + # transport: edit # "edit" = progressive editMessageText + # edit_interval: 0.3 # seconds between message edits + # buffer_threshold: 40 # chars before forcing an edit flush + # cursor: " ▉" # cursor shown during streaming + # ============================================================================= # Skills Configuration # ============================================================================= @@ -700,6 +713,12 @@ display: # Toggle at runtime with /reasoning show or /reasoning hide. show_reasoning: false + # Stream tokens to the terminal as they arrive instead of waiting for the + # full response. The response box opens on first token and text appears + # line-by-line. Tool calls are still captured silently. + # Disabled by default — enable to try the streaming UX. + streaming: false + # ─────────────────────────────────────────────────────────────────────────── # Skin / Theme # ─────────────────────────────────────────────────────────────────────────── diff --git a/cli.py b/cli.py index 51625fcf9..4256ac20b 100755 --- a/cli.py +++ b/cli.py @@ -203,6 +203,7 @@ def load_cli_config() -> Dict[str, Any]: "compact": False, "resume_display": "full", "show_reasoning": False, + "streaming": False, "skin": "default", }, "clarify": {