Skip to content

Commit

Permalink
chore: update generative model to gemini-2.0-flash-exp
Browse files Browse the repository at this point in the history
  • Loading branch information
dakshpokar committed Dec 17, 2024
1 parent 62e8490 commit bbf125b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbf125b

Please sign in to comment.