Skip to content

An AI-powered search engine with a generative UI

Add max duration

Lee Robinsond335b181cf9d
diff --git a/app/page.tsx b/app/page.tsx
index 9e90758a..a2b69d98 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -2,6 +2,8 @@ import { Chat } from '@/components/chat'
import { nanoid } from 'ai'
import { AI } from './actions'
+export const maxDuration = 30
+
export default function Page() {
const id = nanoid()
return (