Try drizzle

This commit is contained in:
Jared Palmer 2023-06-02 11:57:44 -04:00
parent 17bfd0cac1
commit c332a1b6f1
10 changed files with 107 additions and 47 deletions

View file

@ -1,10 +1,9 @@
"use client";
import { type Message } from "@prisma/client";
import { useRouter } from "next/navigation";
import { ChatList } from "./chat-list";
import { Prompt } from "./prompt";
import { useChat } from "ai-connector";
import { useChat, type Message } from "ai-connector";
export interface ChatProps {
// create?: (input: string) => Chat | undefined;