revert(truncation-compaction): rollback to experimental opt-in config (#348)

This commit is contained in:
Sisyphus
2025-12-30 20:42:06 +09:00
committed by GitHub
parent 355f18d411
commit 058e6adf96
9 changed files with 62 additions and 40 deletions

View File

@@ -24,7 +24,7 @@ interface ToolOutputTruncatorOptions {
export function createToolOutputTruncatorHook(ctx: PluginInput, options?: ToolOutputTruncatorOptions) {
const truncator = createDynamicTruncator(ctx)
const truncateAll = options?.experimental?.truncate_all_tool_outputs ?? true
const truncateAll = options?.experimental?.truncate_all_tool_outputs ?? false
const toolExecuteAfter = async (
input: { tool: string; sessionID: string; callID: string },