From 73461bb16ee7b9e040e4a0da4eb0ad654f94e1ee Mon Sep 17 00:00:00 2001 From: Usama Date: Tue, 20 May 2025 12:37:27 +0000 Subject: [PATCH] Add deep chunks configuration to ConversationAccordion component --- .../conversation/ConversationAccordion.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/echo/frontend/src/components/conversation/ConversationAccordion.tsx b/echo/frontend/src/components/conversation/ConversationAccordion.tsx index 9f336d12..f1ebc612 100644 --- a/echo/frontend/src/components/conversation/ConversationAccordion.tsx +++ b/echo/frontend/src/components/conversation/ConversationAccordion.tsx @@ -593,6 +593,12 @@ export const ConversationAccordion = ({ projectId }: { projectId: string }) => { false, { limit: 1, + deep: { + // @ts-expect-error chunks is not typed + chunks: { + _limit: 25, + }, + }, }, ); @@ -642,6 +648,12 @@ export const ConversationAccordion = ({ projectId }: { projectId: string }) => { { search: debouncedConversationSearchValue, sort: sortBy, + deep: { + // @ts-expect-error chunks is not typed + chunks: { + _limit: 25, + }, + }, }, // Temporarily disabled source filters // filterBySource,