mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
fix: increase maxDuration to 300s for Fluid Compute (#30)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user