openclaw - 💡(How to fix) Fix feat: make TUI streaming watchdog timeout configurable [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#75229Fetched 2026-05-01 05:36:38
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
2
Timeline (top)
closed ×1commented ×1cross-referenced ×1

Fix Action

Fix / Workaround

Current Workaround

Code Example

const DEFAULT_STREAMING_WATCHDOG_MS = 3e4; // 30000ms

---

streaming watchdog: no stream updates for 30s; resetting status.
The backend may have dropped this run silently — send a new message to resync.
RAW_BUFFERClick to expand / collapse

Problem

The TUI streaming watchdog in the TUI bundle has a hardcoded timeout of 30 seconds:

const DEFAULT_STREAMING_WATCHDOG_MS = 3e4; // 30000ms

When no stream updates arrive within 30s, the watchdog fires:

streaming watchdog: no stream updates for 30s; resetting status.
The backend may have dropped this run silently — send a new message to resync.

For reasoning models (e.g., deepseek-reasoner, o1, o3), the thinking phase can easily exceed 30 seconds with zero visible output. This causes frequent false-positive watchdog triggers, making the TUI noisy and potentially confusing.

Proposed Solution

Expose streamingWatchdogMs as a configurable option, so users can increase or disable it.

Suggested config path

ui.tui.streamingWatchdogMs or agents.defaults.streamingWatchdogMs

  • Type: number (milliseconds)
  • Default: 30000 (30s)
  • Range: 0 to 600000 (0 = disabled, max 10 min)
  • Description: "Max idle time between stream updates before the TUI watchdog resets the active run status."

Current Workaround

None — the value is hardcoded and not accessible via config, env, or CLI flags.

Versions

  • OpenClaw: 2026.4.26 (be8c246)
  • Node: v25.8.0
  • OS: macOS 15.x (Darwin arm64)

extent analysis

TL;DR

Exposing the streamingWatchdogMs as a configurable option will allow users to adjust or disable the timeout, reducing false-positive watchdog triggers.

Guidance

  • To mitigate the issue, consider increasing the streamingWatchdogMs value to a higher number, such as 1-2 minutes, to accommodate the thinking phase of reasoning models.
  • The proposed solution suggests adding a configurable option ui.tui.streamingWatchdogMs or agents.defaults.streamingWatchdogMs with a range of 0 to 600000 milliseconds.
  • Users can test the new configuration by setting the value to a higher number and verifying that the watchdog no longer triggers during the thinking phase.
  • It is essential to document the new configuration option and its effects on the TUI behavior to ensure users understand its purpose and usage.

Example

// Example configuration
const config = {
  ui: {
    tui: {
      streamingWatchdogMs: 120000 // 2 minutes
    }
  }
};

Notes

The proposed solution requires changes to the TUI bundle to expose the streamingWatchdogMs as a configurable option. The exact implementation details are not provided, but the suggested configuration path and type are specified.

Recommendation

Apply the proposed solution by exposing the streamingWatchdogMs as a configurable option, allowing users to adjust the timeout value according to their specific needs. This will provide a more flexible and robust solution to the issue.

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 feat: make TUI streaming watchdog timeout configurable [1 comments, 2 participants]