feat(core): Only summarize long tool output for shell command (#8039)

This commit is contained in:
Sandy Tao
2025-09-09 13:01:25 -07:00
committed by GitHub
parent 94187114e9
commit 54744958fa
4 changed files with 25 additions and 3 deletions

View File

@@ -624,6 +624,7 @@ export async function loadCliConfig(
enablePromptCompletion: settings.general?.enablePromptCompletion ?? false,
truncateToolOutputThreshold: settings.tools?.truncateToolOutputThreshold,
truncateToolOutputLines: settings.tools?.truncateToolOutputLines,
enableToolOutputTruncation: settings.tools?.enableToolOutputTruncation,
eventEmitter: appEvents,
useSmartEdit: argv.useSmartEdit ?? settings.useSmartEdit,
});