From 8ec1e2baed6ce425648b033eb9cd99c8deb97ff4 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Sat, 31 Jan 2026 22:49:10 +1300 Subject: [PATCH] feat: upgrade chat model to Gemini 3 Flash Co-Authored-By: Claude Opus 4.5 --- src/app/api/chat/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/chat/route.ts b/src/app/api/chat/route.ts index 777dd1cc..38892e8b 100644 --- a/src/app/api/chat/route.ts +++ b/src/app/api/chat/route.ts @@ -52,7 +52,7 @@ export async function POST(request: Request) { // Create streaming response with tool calling const result = streamText({ - model: google('gemini-2.5-flash'), + model: google('gemini-3-flash-preview'), system: systemPrompt, messages: modelMessages, tools: tools,