fix(ai): update stale Gemini test model

This commit is contained in:
David Brailovsky 2026-08-10 15:22:18 +02:00
parent 3059b81316
commit afae6a1a99
2 changed files with 4 additions and 4 deletions

View file

@ -203,8 +203,8 @@ describe("Context overflow error handling", () => {
// =============================================================================
describe.skipIf(!process.env.GEMINI_API_KEY)("Google", () => {
it("gemini-2.0-flash - should detect overflow via isContextOverflow", async () => {
const model = getModel("google", "gemini-2.0-flash");
it("gemini-2.5-flash - should detect overflow via isContextOverflow", async () => {
const model = getModel("google", "gemini-2.5-flash");
const result = await testContextOverflow(model, process.env.GEMINI_API_KEY!);
logResult(result);

View file

@ -222,10 +222,10 @@ describe("totalTokens field", () => {
describe.skipIf(!process.env.GEMINI_API_KEY)("Google", () => {
it(
"gemini-2.0-flash - should return totalTokens equal to sum of components",
"gemini-2.5-flash - should return totalTokens equal to sum of components",
{ retry: 3, timeout: 60000 },
async () => {
const llm = getModel("google", "gemini-2.0-flash");
const llm = getModel("google", "gemini-2.5-flash");
console.log(`\nGoogle / ${llm.id}:`);
const { first, second } = await testTotalTokensWithCache(llm);