Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/gemini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ if (!apiKey) {
const genAI = new GoogleGenerativeAI(apiKey);

// Use the latest working model name "gemini-2.5-flash"
export const getGeminiModel = (model: string = "gemini-2.5-flash") => {
export const getGeminiModel = (model: string = "gemini-3.1-flash-lite") => {
Comment thread
Jaswanth-Kumar-2007 marked this conversation as resolved.
return genAI.getGenerativeModel({ model });
};
2 changes: 1 addition & 1 deletion src/services/quizClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!apiKey) {
}

const genAI = new GoogleGenerativeAI(apiKey);
const model = genAI.getGenerativeModel({ model: "gemini-1.5-flash" });
const model = genAI.getGenerativeModel({ model: "gemini-3.1-flash-lite" });

// This function is for CLIENT-SIDE use
export async function fetchQuizQuestions(
Expand Down
Loading