feat: reorganize files and implement ui and sidebar
This commit is contained in:
parent
2e80864b84
commit
01dc4520d6
36 changed files with 1347 additions and 462 deletions
11
app/page.tsx
11
app/page.tsx
|
|
@ -1,13 +1,8 @@
|
|||
import { type Message } from 'ai-connector'
|
||||
import { Chat } from './chat'
|
||||
import { Chat } from '@/components/chat'
|
||||
|
||||
export const runtime = 'edge'
|
||||
// export const runtime = 'edge'
|
||||
export const preferredRegion = 'home'
|
||||
|
||||
export default async function IndexPage() {
|
||||
return (
|
||||
<div className="h-full overflow-hidden">
|
||||
<Chat />
|
||||
</div>
|
||||
)
|
||||
return <Chat />
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue