Skip to content

Commit 239f5d5

Browse files
committed
Keep migrating
1 parent ea557f4 commit 239f5d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/(chat)/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import { cookies } from 'next/headers';
2+
import { connection } from 'next/server';
23

34
import { Chat } from '@/components/chat';
45
import { DEFAULT_MODEL_NAME, models } from '@/lib/ai/models';
56
import { generateUUID } from '@/lib/utils';
67

78
export default async function Page() {
9+
await connection();
810
const id = generateUUID();
911

1012
const cookieStore = await cookies();

0 commit comments

Comments
 (0)