diff --git a/src/agents/embedded-agent-runner/tool-result-truncation.ts b/src/agents/embedded-agent-runner/tool-result-truncation.ts index 11bb114f693..09cb37102e9 100644 --- a/src/agents/embedded-agent-runner/tool-result-truncation.ts +++ b/src/agents/embedded-agent-runner/tool-result-truncation.ts @@ -67,7 +67,6 @@ const DEFAULT_SUFFIX = (truncatedChars: number) => formatContextLimitTruncationNotice(truncatedChars); const COMPACT_RECOVERY_SUFFIX = (truncatedChars: number) => `[... ${Math.max(1, Math.floor(truncatedChars))} chars truncated; narrow args]`; -export const MIN_TRUNCATED_TEXT_CHARS = MIN_KEEP_CHARS + DEFAULT_SUFFIX(1).length; function resolveSuffixFactory( suffix: ToolResultTruncationOptions["suffix"],