fix: update regenerate-page to use gemini-2.0-flash-exp model

Old gemini-1.5-flash model is no longer available in v1beta API

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2025-12-18 23:28:55 -05:00
parent 3143e8e338
commit 9960a861ee
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ export async function POST(request: NextRequest) {
}
// Update outline based on feedback using Gemini
const model = genAI.getGenerativeModel({ model: "gemini-1.5-flash" });
const model = genAI.getGenerativeModel({ model: "gemini-2.0-flash-exp" });
const prompt = `You are refining a zine page based on user feedback.