We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea557f4 commit 239f5d5Copy full SHA for 239f5d5
app/(chat)/page.tsx
@@ -1,10 +1,12 @@
1
import { cookies } from 'next/headers';
2
+import { connection } from 'next/server';
3
4
import { Chat } from '@/components/chat';
5
import { DEFAULT_MODEL_NAME, models } from '@/lib/ai/models';
6
import { generateUUID } from '@/lib/utils';
7
8
export default async function Page() {
9
+ await connection();
10
const id = generateUUID();
11
12
const cookieStore = await cookies();
0 commit comments