From c8624589fdc0d2921d3ba341c6167f498a6f66fa Mon Sep 17 00:00:00 2001 From: Mishig Davaadorj Date: Thu, 22 Feb 2024 10:27:43 +0100 Subject: [PATCH] limit convo to last 300 --- src/routes/+layout.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+layout.server.ts b/src/routes/+layout.server.ts index 7ab21550b42..68a0cc8365e 100644 --- a/src/routes/+layout.server.ts +++ b/src/routes/+layout.server.ts @@ -93,7 +93,7 @@ export const load: LayoutServerLoad = async ({ locals, depends }) => { createdAt: 1, assistantId: 1, }) - .limit(100) + .limit(300) .toArray(); const assistantIds = [