Skip to content

Commit

Permalink
limit convo to last 300
Browse files Browse the repository at this point in the history
  • Loading branch information
mishig25 committed Feb 22, 2024
1 parent b9ecdc1 commit c862458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const load: LayoutServerLoad = async ({ locals, depends }) => {
createdAt: 1,
assistantId: 1,
})
.limit(100)
.limit(300)
.toArray();

const assistantIds = [
Expand Down

0 comments on commit c862458

Please sign in to comment.