File size: 425 Bytes
52b4c36
 
edd2230
76fdff4
 
52b4c36
76fdff4
52b4c36
edd2230
 
 
 
 
 
 
 
 
 
 
 
 
52b4c36
76fdff4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { nanoid } from '@/lib/utils';
import { Chat } from '@/components/chat';
import { ThemeToggle } from '../../components/theme-toggle';

export default function IndexPage() {
	const id = nanoid();

	return (
		<>
			<Chat
				id={id}
				initialMessages={[
					{
						id: '123',
						content: 'Hi, what do you want to know about this image?',
						role: 'system',
					},
				]}
			/>
			<ThemeToggle />
		</>
	);
}