diff options
| author | anj-s <[email protected]> | 2025-07-15 10:22:31 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-15 17:22:31 +0000 |
| commit | d3ee9de3c3b976ad45fe1a13eb49271d17a32e37 (patch) | |
| tree | 10c9a2dbe37eb0602a716d92aea2290b61d9310b /packages/core/src/utils/summarizer.test.ts | |
| parent | 7effdad3e27d4e6198249d3dba1bc52e89b76462 (diff) | |
Enable tool summarization only when explicitly set in settings.json (#4140)
Co-authored-by: matt korwel <[email protected]>
Diffstat (limited to 'packages/core/src/utils/summarizer.test.ts')
| -rw-r--r-- | packages/core/src/utils/summarizer.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/utils/summarizer.test.ts b/packages/core/src/utils/summarizer.test.ts index 85f09cee..c3a521b7 100644 --- a/packages/core/src/utils/summarizer.test.ts +++ b/packages/core/src/utils/summarizer.test.ts @@ -121,7 +121,7 @@ describe('summarizers', () => { await summarizeToolOutput(longText, mockGeminiClient, abortSignal, 1000); - const expectedPrompt = `Summarize the following tool output to be a maximum of 1000 characters. The summary should be concise and capture the main points of the tool output. + const expectedPrompt = `Summarize the following tool output to be a maximum of 1000 tokens. The summary should be concise and capture the main points of the tool output. The summarization should be done based on the content that is provided. Here are the basic rules to follow: 1. If the text is a directory listing or any output that is structural, use the history of the conversation to understand the context. Using this context try to understand what information we need from the tool output and return that as a response. |
