refactor(text): remove tool-call block facade · openclaw/openclaw@4a4a596
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // Assistant visible text helpers strip hidden reasoning and control marker text. |
2 | 2 | import { normalizeLowercaseStringOrEmpty } from "@openclaw/normalization-core/string-coerce"; |
| 3 | +import { stripPlainTextToolCallBlocks } from "../../../packages/tool-call-repair/src/index.js"; |
3 | 4 | import { findCodeRegions, isInsideCode } from "./code-regions.js"; |
4 | 5 | import { stripModelSpecialTokens } from "./model-special-tokens.js"; |
5 | | -import { stripPlainTextToolCallBlocks } from "./plain-text-tool-call-blocks.js"; |
6 | 6 | import { |
7 | 7 | stripReasoningTagsFromText, |
8 | 8 | type ReasoningTagMode, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。