Skip to content

An AI-powered search engine with a generative UI

Update maxDuration to 60 seconds

Yoshiki Miura2c46b0a5f744
diff --git a/app/page.tsx b/app/page.tsx
index a2b69d98..9d1edd25 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -2,7 +2,7 @@ import { Chat } from '@/components/chat'
import { nanoid } from 'ai'
import { AI } from './actions'
-export const maxDuration = 30
+export const maxDuration = 60
export default function Page() {
const id = nanoid()
diff --git a/app/search/[id]/page.tsx b/app/search/[id]/page.tsx
index 3defb33c..ac08d9cc 100644
--- a/app/search/[id]/page.tsx
+++ b/app/search/[id]/page.tsx
@@ -3,7 +3,7 @@ import { Chat } from '@/components/chat'
import { getChat } from '@/lib/actions/chat'
import { AI } from '@/app/actions'
-export const maxDuration = 30
+export const maxDuration = 60
export interface SearchPageProps {
params: {