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