From bbf125bd664d8a708023d557bebf9a77f415c536 Mon Sep 17 00:00:00 2001 From: Daksh Pokar Date: Tue, 17 Dec 2024 09:15:57 -0600 Subject: [PATCH] chore: update generative model to gemini-2.0-flash-exp --- src/js/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/constants.js b/src/js/constants.js index 388d0080..65f4fb16 100644 --- a/src/js/constants.js +++ b/src/js/constants.js @@ -2731,7 +2731,7 @@ class ChatLLM { const API_KEY = constants.geminiAuthKey; const genAI = new GoogleGenerativeAI(API_KEY); const model = genAI.getGenerativeModel({ - model: 'gemini-1.5-pro-latest', + model: 'gemini-2.0-flash-exp', }); // old model was 'gemini-pro-vision' // Create the prompt