Switch utility calls to use the gemini-2.5-flash-lite model (#5193)

Co-authored-by: Anjali Sridhar <anjsridhar@gmail.com>
This commit is contained in:
mrcabbage972
2025-08-01 17:11:51 -04:00
committed by GitHub
parent a6a386f72a
commit dccca91fc9
3 changed files with 5 additions and 4 deletions

View File

@@ -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) {