mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-24 20:49:35 +00:00
refactor(agents): drop unused truncation export
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user