summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/summarizer.ts
diff options
context:
space:
mode:
authormrcabbage972 <[email protected]>2025-08-01 17:11:51 -0400
committerGitHub <[email protected]>2025-08-01 21:11:51 +0000
commitdccca91fc944424b032b09d29afb85d225a71dcc (patch)
treef845fec638e7ff4b2b85a7bac220324edd701c85 /packages/core/src/utils/summarizer.ts
parenta6a386f72aee3c5509a7c9fe7482060cf7d5884e (diff)
Switch utility calls to use the gemini-2.5-flash-lite model (#5193)
Co-authored-by: Anjali Sridhar <[email protected]>
Diffstat (limited to 'packages/core/src/utils/summarizer.ts')
-rw-r--r--packages/core/src/utils/summarizer.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/utils/summarizer.ts b/packages/core/src/utils/summarizer.ts
index a038b8e3..b6e4f543 100644
--- a/packages/core/src/utils/summarizer.ts
+++ b/packages/core/src/utils/summarizer.ts
@@ -11,7 +11,7 @@ import {
GenerateContentResponse,
} from '@google/genai';
import { GeminiClient } from '../core/client.js';
-import { DEFAULT_GEMINI_FLASH_MODEL } from '../config/models.js';
+import { DEFAULT_GEMINI_FLASH_LITE_MODEL } from '../config/models.js';
import { getResponseText, partToString } from './partUtils.js';
/**
@@ -86,7 +86,7 @@ export async function summarizeToolOutput(
contents,
toolOutputSummarizerConfig,
abortSignal,
- DEFAULT_GEMINI_FLASH_MODEL,
+ DEFAULT_GEMINI_FLASH_LITE_MODEL,
)) as unknown as GenerateContentResponse;
return getResponseText(parsedResponse) || textToSummarize;
} catch (error) {