From b4679f659885fa442a817e970bac11cb16d702d0 Mon Sep 17 00:00:00 2001 From: Dayuan Jiang <34411969+DayuanJiang@users.noreply.github.com> Date: Mon, 1 Dec 2025 00:46:40 +0900 Subject: [PATCH] fix: increase maxDuration to 300s for Fluid Compute (#30) --- 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 e6c12ca..29cf692 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -2,7 +2,7 @@ import { streamText, convertToModelMessages } from 'ai'; import { getAIModel } from '@/lib/ai-providers'; import { z } from "zod"; -export const maxDuration = 60; +export const maxDuration = 300; export async function POST(req: Request) { try {