diff --git a/packages/web/app/api/(newai)/chat/route.ts b/packages/web/app/api/(newai)/chat/route.ts index 71aef642..7b435847 100644 --- a/packages/web/app/api/(newai)/chat/route.ts +++ b/packages/web/app/api/(newai)/chat/route.ts @@ -8,7 +8,7 @@ import { getModel } from "@/lib/models"; import { getChatSystemPrompt } from "@/lib/prompts/chat-prompt"; export const maxDuration = 60; -const MODEL_NAME = process.env.CHAT_MODEL || process.env.MODEL_NAME || "gemini-2.0-flash-exp"; +const MODEL_NAME = process.env.CHAT_MODEL || process.env.MODEL_NAME; const settingsSchema = z.object({ renameInstructions: z.string().optional(),