From 90e9763d1c24263e4a1ef46bb9e770294d1b49b4 Mon Sep 17 00:00:00 2001 From: shni Date: Thu, 2 Oct 2025 21:58:57 -0500 Subject: [PATCH] feat: update generative model to gemini-2.5-flash for improved performance --- src/core/services/AIService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/services/AIService.ts b/src/core/services/AIService.ts index 87dcbba..d1b832f 100644 --- a/src/core/services/AIService.ts +++ b/src/core/services/AIService.ts @@ -216,7 +216,7 @@ export class AIService { // Usar la API correcta de Google Generative AI const model = this.genAI.getGenerativeModel({ - model: "gemini-1.5-flash", + model: "gemini-2.5-flash", generationConfig: { maxOutputTokens: Math.min(this.config.maxOutputTokens, Math.max(1024, estimatedTokens * 0.5)), temperature: 0.7,