Skip to content

fix(auto-reply): honor webchat textChunkLimit/chunkMode config overrides [AI-assisted]#83742

Merged
clawsweeper[bot] merged 2 commits into
mainfrom
clawsweeper/automerge-openclaw-openclaw-83713
May 18, 2026
Merged

fix(auto-reply): honor webchat textChunkLimit/chunkMode config overrides [AI-assisted]#83742
clawsweeper[bot] merged 2 commits into
mainfrom
clawsweeper/automerge-openclaw-openclaw-83713

Conversation

@clawsweeper

@clawsweeper clawsweeper Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor

Makes #83713 merge-ready for the ClawSweeper automerge loop.
The edit pass should inspect the live PR diff, review comments, and failing checks; rebase if needed; keep the contributor branch credited; and stop only when validation is green or an external blocker is proven.

ClawSweeper 🐠 replacement reef notes:

  • Repair fallback: GitHub rejected the repair branch push because it updates workflow files and the ClawSweeper app token does not have workflows permission

Inherited issue-closing references from the source PR:
Closes #83658

Co-author credit kept:

fish notes: model gpt-5.5, reasoning high; reviewed against cd9ac01.

luyao618 and others added 2 commits May 18, 2026 20:01
The webchat channel was explicitly bypassed in resolveTextChunkLimit and
resolveChunkMode, hardcoding the 4000-char default and ignoring any
channels.webchat.textChunkLimit override in user config. This made long
WebChat assistant responses get cut at ~4000 chars with no escape hatch.

Drop the INTERNAL_MESSAGE_CHANNEL special-case so webchat goes through
the same provider config lookup as every other channel. The 4000-char
fallback still applies when no override is configured, preserving
existing behavior for users who do not set channels.webchat.textChunkLimit.

Closes #83658
@clawsweeper clawsweeper Bot added size: XS clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge proof: override Maintainer override for the external PR real behavior proof gate. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. clawsweeper Tracked by ClawSweeper automation labels May 18, 2026
@clawsweeper

clawsweeper Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

Codex review: passed.

Workflow note: Future ClawSweeper reviews update this same comment in place.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

Summary
This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.

Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallback for provider webchat before reading cfg.channels, so a configured channels.webchat.textChunkLimit cannot take effect.

PR rating
Overall: 🐚 platinum hermit
Proof: 🐚 platinum hermit
Patch quality: 🐚 platinum hermit
Summary: Small targeted fix with focused regression coverage and no blocking findings; proof is accepted by override rather than a live WebChat artifact.

Rank-up moves:

  • A maintainer can request the visual Mantis proof if they want UI-level confirmation beyond the resolver tests.
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

PR egg
✨ Hatched: 🥚 common Tiny Diff Drake

        /\     /\            
      _/  \___/  \_          
     /  ( o   o )  \         
    |      \_/      |        
    |   /\  ===  /\ |        
     \_/  \_____/  \_/       
        _/|_| |_|\_          
       /__| | | |__\         
          ' ' ' '            
         /_/     \_\         
       .-----------.         
      '-------------'        

Rarity: 🥚 common.
Trait: sleeps inside passing CI.
Share on X: post this hatch
Copy: My PR egg hatched a 🥚 common Tiny Diff Drake in ClawSweeper.

What is this egg doing here?
  • Eggs appear after the PR passes real-behavior proof. It is here for vibes, not verdicts: it does not change labels, ratings, merge decisions, or automation.
  • The shell reacts to review momentum: open follow-up work warms it up, re-review makes it wobble, and a clean final review lets it hatch.
  • How to hatch it: reach status: 👀 ready for maintainer look or status: 🚀 automerge armed; that usually means sufficient real-behavior proof, no blocking P0/P1/P2 findings, no security attention needed, and clean correctness.
  • The hatch is seeded from this repository and PR number, so the same PR keeps the same creature; the reviewed head SHA can only change safe visual details.
  • Rarity is just collectible sparkle: 🥚 common, 🌱 uncommon, 💎 rare, ✨ glimmer, and 🌈 legendary.

Real behavior proof
Override: A maintainer applied proof: override for this PR.

Mantis proof suggestion
The changed behavior is visible in WebChat when a long assistant reply exceeds the old 4000-character cap and a higher override is configured. A maintainer can ask Mantis to capture proof by posting a new PR comment that starts with the OpenClaw Mantis account mention, followed by:

visual task: verify WebChat with channels.webchat.textChunkLimit above 4000 renders a long assistant reply without ...(truncated)... and default config still uses 4000.

Next step before merge
No repair lane is needed; the PR has no blocking findings and should proceed through automerge/check gating rather than a separate fix PR.

Security
Cleared: The diff only touches auto-reply resolver logic, focused tests, and the changelog; it adds no dependency, workflow, credential, permission, or code-execution surface.

Review details

Best possible solution:

Land this replacement PR after the normal automerge/check gates so explicit WebChat chunk overrides work while default WebChat chunking remains unchanged.

Do we have a high-confidence way to reproduce the issue?

Yes, from source inspection rather than runtime execution: current main returns the fallback for provider webchat before reading cfg.channels, so a configured channels.webchat.textChunkLimit cannot take effect.

Is this the best way to solve the issue?

Yes. Removing only the INTERNAL_MESSAGE_CHANNEL guard is the narrowest maintainable fix because the provider config lookup, fallback handling, and chunk-mode resolution already exist and the PR adds targeted tests for override and default behavior.

Label justifications:

  • P2: The PR fixes a real WebChat message truncation bug with limited blast radius and no emergency availability or security impact.

What I checked:

  • Current main ignores WebChat chunk limit config: On current main, resolveTextChunkLimit returns undefined for provider overrides when the provider is INTERNAL_MESSAGE_CHANNEL, and that constant is webchat, so channels.webchat.textChunkLimit cannot be reached. (src/auto-reply/chunk.ts:67, 583a60f8b5a4)
  • Current main ignores WebChat chunk mode config: On current main, resolveChunkMode returns the default mode before provider config lookup when the provider is webchat. (src/auto-reply/chunk.ts:105, 583a60f8b5a4)
  • PR implementation keeps the fallback but allows provider lookup: At the PR head, both resolvers only short-circuit when provider is absent, so WebChat now reaches the existing cfg.channels[provider] lookup and still falls back when no override exists. (src/auto-reply/chunk.ts:66, cd9ac01a3634)
  • PR adds focused regression coverage: The PR adds table cases for channels.webchat.textChunkLimit, the no-override 4000 fallback, and channels.webchat.chunkMode = "newline". (src/auto-reply/chunk.test.ts:334, cd9ac01a3634)
  • Runtime call path uses the resolver: Block streaming resolves the normalized provider key, calls resolveTextChunkLimit, then uses resolveChunkMode to decide paragraph flushing, so the PR touches the implicated WebChat live reply path. (src/auto-reply/reply/block-streaming.ts:26, 583a60f8b5a4)
  • Channel config accepts plugin-style channel sections: The channel config schema is passthrough, so channels.webchat is not rejected by schema validation even though WebChat is an internal channel. (src/config/zod-schema.channels-config.ts:64, 583a60f8b5a4)

Likely related people:

  • steipete: Blame and history show Peter Steinberger on the current resolver body and on the original configurable outbound text chunk limit work plus later chunking refactors. (role: feature-history owner and recent area contributor; confidence: high; commits: 4f4d10863916, 5684e2d658db, 0f9e16ca463b; files: src/auto-reply/chunk.ts, src/auto-reply/reply/block-streaming.ts, src/auto-reply/chunk.test.ts)
  • tyler6204: History shows Tyler Yust introduced the chunk mode option and related tests that this PR extends to WebChat. (role: chunk mode feature contributor; confidence: medium; commits: 92e794dc1812; files: src/auto-reply/chunk.ts, src/auto-reply/chunk.test.ts, src/auto-reply/reply/block-streaming.ts)
  • vincentkoc: Recent history shows Vincent Koc changed the canonical streaming/chunk mode config helper used by resolveChunkModeForProvider. (role: adjacent config normalization contributor; confidence: medium; commits: 0fdf9e874b7e; files: src/auto-reply/chunk.ts, src/plugin-sdk/channel-streaming.ts, src/config/types.base.ts)

Codex review notes: model gpt-5.5, reasoning high; reviewed against 583a60f8b5a4.

@clawsweeper clawsweeper Bot added status: 🚀 automerge armed This PR is in ClawSweeper's automerge lane. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels May 18, 2026
@clawsweeper

clawsweeper Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

ClawSweeper 🐠 automerge status

This repair pass finished without changing the PR. ClawSweeper checked the branch and found no safe patch to push this time.

Executor outcome: no planned fix actions.
Worker summary: No further repair action is needed. The uneditable source PR #83713 was superseded by writable replacement this PR, and this PR is already merged on current main at 424c6d0. Linked issue #83658 and both PRs are already closed, so this result only records skipped keep-closed classifications.

Worker actions:

  • keep_closed on #83713: skipped - Source PR was already superseded by replacement this PR before this worker result.
  • keep_closed on this PR: skipped - Replacement PR is the canonical landed fix for this automerge cluster.
  • keep_closed on #83658: skipped - The issue is already closed after the canonical fix landed.

Nothing moved downstream from this pass: no branch update, replacement PR, merge, or re-review.

fish notes: model gpt-5.5, reasoning high; reviewed against cd9ac01.

Automerge progress:

  • 2026-05-18 20:08:55 UTC review passed cd9ac01a3634 (structured ClawSweeper verdict: pass (sha=cd9ac01a363412f3dc56730d58e9cb05742d4...)
  • 2026-05-18 20:09:44 UTC merged cd9ac01a3634 (merged by ClawSweeper automerge)
  • 2026-05-18 20:09:57 UTC review queued cd9ac01a3634 (queued)

@clawsweeper clawsweeper Bot merged commit 424c6d0 into main May 18, 2026
156 of 166 checks passed
@clawsweeper clawsweeper Bot deleted the clawsweeper/automerge-openclaw-openclaw-83713 branch May 18, 2026 20:09
markfietje pushed a commit to markfietje/openclaw that referenced this pull request May 20, 2026
…des [AI-assisted] (#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01a363412f3dc56730d58e9cb05742d4a8c.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01a363412f3dc56730d58e9cb05742d4a8c
Review: openclaw/openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
markfietje pushed a commit to markfietje/openclaw that referenced this pull request May 20, 2026
…des [AI-assisted] (#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01a363412f3dc56730d58e9cb05742d4a8c.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01a363412f3dc56730d58e9cb05742d4a8c
Review: openclaw/openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
galiniliev pushed a commit to galiniliev/openclaw that referenced this pull request May 25, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SYU8384 pushed a commit to SYU8384/openclaw that referenced this pull request Jun 3, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
…des [AI-assisted] (openclaw#83742)

Summary:
- This PR removes the WebChat special-case from auto-reply chunk limit/mode resolution, adds WebChat override regression tests, and records the fix in the changelog.
- Reproducibility: yes. from source inspection rather than runtime execution: current main returns the fallbac ... bchat` before reading `cfg.channels`, so a configured `channels.webchat.textChunkLimit` cannot take effect.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(auto-reply): honor webchat textChunkLimit/chunkMode config overri…

Validation:
- ClawSweeper review passed for head cd9ac01.
- Required merge gates passed before the squash merge.

Prepared head SHA: cd9ac01
Review: openclaw#83742 (comment)

Co-authored-by: luyao618 <364939526@qq.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge clawsweeper Tracked by ClawSweeper automation P2 Normal backlog priority with limited blast radius. proof: override Maintainer override for the external PR real behavior proof gate. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 🚀 automerge armed This PR is in ClawSweeper's automerge lane.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Web chat live response unconditionally truncated at ~4,000 chars

1 participant