diff options
| author | anj-s <[email protected]> | 2025-07-11 09:29:08 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-11 16:29:08 +0000 |
| commit | 23197151c2384c3ef9b72e3c83b6e0d87d738d14 (patch) | |
| tree | 75afdc24340ce0e3e42dbf4dbb0422def5bfab9d /packages/core/src/tools/shell.ts | |
| parent | cdbe2fffd998218cf9836f5303f2286dbebb52ff (diff) | |
Summarize tool call outputs using tool specific summarizers (#3745)
Diffstat (limited to 'packages/core/src/tools/shell.ts')
| -rw-r--r-- | packages/core/src/tools/shell.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/core/src/tools/shell.ts b/packages/core/src/tools/shell.ts index c8fa6ba7..e9f59f10 100644 --- a/packages/core/src/tools/shell.ts +++ b/packages/core/src/tools/shell.ts @@ -27,6 +27,7 @@ export interface ShellToolParams { directory?: string; } import { spawn } from 'child_process'; +import { llmSummarizer } from '../utils/summarizer.js'; const OUTPUT_UPDATE_INTERVAL_MS = 1000; @@ -73,6 +74,8 @@ Process Group PGID: Process group started or \`(none)\``, }, false, // output is not markdown true, // output can be updated + llmSummarizer, + true, // should summarize display output ); } @@ -487,7 +490,6 @@ Process Group PGID: Process group started or \`(none)\``, // returnDisplayMessage will remain empty, which is fine. } } - return { llmContent, returnDisplay: returnDisplayMessage }; } } |
