An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
Update maxDuration to 60 seconds
Yoshiki Miura2c46b0a5f744
diff --git a/app/page.tsx b/app/page.tsxindex 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 = 60export default function Page() {const id = nanoid()diff --git a/app/search/[id]/page.tsx b/app/search/[id]/page.tsxindex 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 = 60export interface SearchPageProps {params: {