openclaw - 💡(How to fix) Fix TUI: expose `streamingWatchdogMs` so the "taking longer than expected" nag can be tuned via config [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#80107Fetched 2026-05-11 03:18:41
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
2
Timeline (top)
mentioned ×2subscribed ×2closed ×1commented ×1

Code Example

// dist/plugin-sdk/src/tui/tui-event-handlers.d.ts
/** Reset `streaming` after this much delta silence. Set to 0 to disable. */
streamingWatchdogMs?: number;
RAW_BUFFERClick to expand / collapse

The TUI shows "This response is taking longer than expected. Send another message to continue." after 30 seconds of streaming silence. The threshold lives in DEFAULT_STREAMING_WATCHDOG_MS = 3e4 in the bundled tui-*.js and is not configurable.

Interestingly, the SDK type already declares the option:

// dist/plugin-sdk/src/tui/tui-event-handlers.d.ts
/** Reset `streaming` after this much delta silence. Set to 0 to disable. */
streamingWatchdogMs?: number;

But createEventHandlers(...) in the bundled TUI is called without that field, so the default (30s) is always used and there's no way for an operator to override it.

Use case: long-running model turns (research, deep tool chains) routinely exceed 30s. The nag fires mid-task and clutters the chat log. 30s is too aggressive a default for non-trivial work.

Two ways to fix:

  1. Pipe a config value (e.g., tui.streamingWatchdogMs) through createEventHandlers and add it to the JSON schema.
  2. Or expose a --watchdog-ms flag on openclaw tui.

Either works. Happy to send a PR if there's a preference.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix TUI: expose `streamingWatchdogMs` so the "taking longer than expected" nag can be tuned via config [1 comments, 2 participants]