chore: migrate batch-evals model to gemini-3.1-flash-lite-preview (deadline 6/1)

This commit is contained in:
Han Xiao
2026-05-01 13:59:39 -07:00
parent d44cec6524
commit fd323b521a
+1 -1
View File
@@ -108,7 +108,7 @@ Minor wording differences are acceptable as long as the core information of the
try {
const result = await generateObject({
model: createGoogleGenerativeAI({ apiKey: GEMINI_API_KEY })('gemini-2.5-flash'), // fix to gemini-2.0-flash for evaluation
model: createGoogleGenerativeAI({ apiKey: GEMINI_API_KEY })('gemini-3.1-flash-lite-preview'), // migrated from gemini-2.5-flash on 2026-05-01
schema,
prompt,
maxTokens: 1000,