From cbb92bd636c8ec0f498ca67a73d11f66ff595996 Mon Sep 17 00:00:00 2001 From: Dayuan Jiang <34411969+DayuanJiang@users.noreply.github.com> Date: Sat, 6 Dec 2025 18:09:30 +0900 Subject: [PATCH] fix: set maxDuration to 60 for Vercel hobby plan (#122) --- app/api/chat/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index 89cc6ea..da80b81 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -15,7 +15,7 @@ import { } from "@/lib/langfuse" import { getSystemPrompt } from "@/lib/system-prompts" -export const maxDuration = 300 +export const maxDuration = 60 // File upload limits (must match client-side) const MAX_FILE_SIZE = 2 * 1024 * 1024 // 2MB