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:
parent
3143e8e338
commit
9960a861ee
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue