refactor(agents): drop unused truncation export · openclaw/openclaw@203bddc
vincentkoc
·
2026-06-16
·
via Recent Commits to openclaw:main
File tree
src/agents/embedded-agent-runner
| Original file line number | Diff line number | Diff line change |
|---|
@@ -67,7 +67,6 @@ const DEFAULT_SUFFIX = (truncatedChars: number) =>
|
67 | 67 | formatContextLimitTruncationNotice(truncatedChars); |
68 | 68 | const COMPACT_RECOVERY_SUFFIX = (truncatedChars: number) => |
69 | 69 | `[... ${Math.max(1, Math.floor(truncatedChars))} chars truncated; narrow args]`; |
70 | | -export const MIN_TRUNCATED_TEXT_CHARS = MIN_KEEP_CHARS + DEFAULT_SUFFIX(1).length; |
71 | 70 | |
72 | 71 | function resolveSuffixFactory( |
73 | 72 | suffix: ToolResultTruncationOptions["suffix"], |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。