feat: truncate all the tool outputs

This commit is contained in:
YeonGyu-Kim
2025-12-22 14:16:50 +09:00
parent 08957ce1f0
commit c3e41c8363
3 changed files with 11 additions and 3 deletions

View File

@@ -251,7 +251,7 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
? createCommentCheckerHooks()
: null;
const toolOutputTruncator = isHookEnabled("tool-output-truncator")
? createToolOutputTruncatorHook(ctx)
? createToolOutputTruncatorHook(ctx, { experimental: pluginConfig.experimental })
: null;
const directoryAgentsInjector = isHookEnabled("directory-agents-injector")
? createDirectoryAgentsInjectorHook(ctx)