openclaw - 💡(How to fix) Fix [Bug]: Web UI answers are truncated and channels.webchat config is rejected as unknown channel [2 pull requests]

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…

Agent answers in the OpenClaw Web UI is truncated when the response is long (>4000 symbols). I tried to configure a larger text chunk limit for the Web UI using channels.webchat.textChunkLimit and channels.webchat.chunkMode, but OpenClaw rejects channels.webchat as an unknown channel ID.

This means there appears to be no valid way to increase the Web UI response chunk limit in the config, even though similar channel-level settings are available for other channels such as Slack.

<img width="816" height="264" alt="Image" src="https://github.com/user-attachments/assets/4fe8f045-9f40-4efc-8852-db4c4f4f240e" />

Root Cause

Because channels.webchat is rejected, I cannot find a valid configuration location for Web UI chunking.

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

Agent answers in the OpenClaw Web UI is truncated when the response is long (>4000 symbols). I tried to configure a larger text chunk limit for the Web UI using channels.webchat.textChunkLimit and channels.webchat.chunkMode, but OpenClaw rejects channels.webchat as an unknown channel ID.

This means there appears to be no valid way to increase the Web UI response chunk limit in the config, even though similar channel-level settings are available for other channels such as Slack.

<img width="816" height="264" alt="Image" src="https://github.com/user-attachments/assets/4fe8f045-9f40-4efc-8852-db4c4f4f240e" />

Steps to reproduce

  1. Use OpenClaw version 2026.5.27.
  2. Open the Web UI / Control UI.
  3. Ask an agent to produce a long answer.
  4. Observe that the answer is truncated in the Web UI.
  5. Try to add the following config to ~/.openclaw/openclaw.json:

{ "channels": { "webchat": { "textChunkLimit": 16000, "chunkMode": "newline" } } }

  1. Run: openclaw config validate openclaw gateway restart

Expected behavior

There should be a supported way to configure the Web UI / WebChat text chunk limit, similar to other channels.

For example, one of the following should work:

"channels": { "webchat": { "textChunkLimit": 16000, "chunkMode": "newline" } }

or the documentation should clearly explain the correct config path for Web UI message chunking.

Long Web UI answers should either:

render fully, be split into multiple visible message chunks, or respect the configured textChunkLimit / chunkMode settings.

Actual behavior

The Web UI answer is truncated when the response is long.

When trying to configure channels.webchat, OpenClaw rejects the config:

Invalid config at /home/ubuntu/.openclaw/openclaw.json:

  • channels.webchat: unknown channel id: webchat

OpenClaw config is invalid: ~/.openclaw/openclaw.json × channels.webchat: unknown channel id: webchat

Gateway aborted: config is invalid. channels.webchat: unknown channel id: webchat

Because channels.webchat is rejected, I cannot find a valid configuration location for Web UI chunking.

OpenClaw version

OpenClaw 2026.5.27 (27ae826)

Operating system

Ununtu 24.04

Install method

No response

Model

openai/gpt-5.5

Provider / routing chain

OpenClaw -> OpenAI Codex OAuth -> openai/gpt-5.5

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

Alternatively, if you set defaults for message length above 10000 symbols or 20000 symbols, so users would not even need to bother about changing the defaults.

And here I have found a related case. It says that the issue is solved, but apparently it is not. https://github.com/openclaw/openclaw/issues/47123

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…

FAQ

Expected behavior

There should be a supported way to configure the Web UI / WebChat text chunk limit, similar to other channels.

For example, one of the following should work:

"channels": { "webchat": { "textChunkLimit": 16000, "chunkMode": "newline" } }

or the documentation should clearly explain the correct config path for Web UI message chunking.

Long Web UI answers should either:

render fully, be split into multiple visible message chunks, or respect the configured textChunkLimit / chunkMode settings.

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 [Bug]: Web UI answers are truncated and channels.webchat config is rejected as unknown channel [2 pull requests]