From 906a7b1c88624fd2874bfebf8c5c2819b6010e01 Mon Sep 17 00:00:00 2001 From: Efe Date: Sat, 20 Jan 2024 12:45:51 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20turned=20db=20save=20on?= =?UTF-8?q?=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/chat/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index 1794d35..2f14e80 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -30,7 +30,7 @@ export async function POST(req: Request) { }); - // await insertMessageToDB(threadId, createdMessage); + await insertMessageToDB(threadId, createdMessage); return experimental_AssistantResponse( { threadId, messageId: createdMessage.id },