Skip to content

Commit

Permalink
🔧 chore: turned db save on again
Browse files Browse the repository at this point in the history
  • Loading branch information
clkefe committed Jan 20, 2024
1 parent d0a0e5a commit 906a7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 906a7b1

Please sign in to comment.