← Back to library

对话洁净度技巧:工具调用场景关闭“过程旁白”泄漏的验收清单

场景:助手在调用工具前把“我先查一下”这类内部旁白发给用户,造成噪音。做法:升级到含修复版本后,用带 tool call 的用例做回归,确认仅输出最终答案。

GITHUBDiscovered 2026-02-18Author @lailoo
Prerequisites
  • Gateway can be upgraded/restarted in a controlled environment.
  • You have a reproducible prompt that triggers at least one tool call.
Steps
  1. Prepare two test prompts: one that triggers tool use, one normal no-tool reply, and record current behavior baseline.
  2. Upgrade to a build containing PR #20045 and restart gateway.
  3. Replay tool-call prompt and verify interim narration text is no longer delivered to user.
  4. Replay no-tool prompt and ensure normal textual replies remain intact.
  5. Capture before/after evidence in regression notes for future release checks.
Commands
openclaw gateway status
openclaw gateway restart
openclaw status
Verify

Tool-use scenarios only return final result text, while no-tool scenarios still return full answer text.

Caveats
  • If your deployment streams partial responses through custom middleware, re-check end-user output path for extra text leakage(需验证).
  • Do not assume this fix covers all provider-specific streaming adapters without targeted tests.
Source attribution

This tip is aggregated from community/public sources and preserved with attribution.

Open original source ↗
Visit original post