diff --git a/apps/desktop/src/components/ChatInterface.tsx b/apps/desktop/src/components/ChatInterface.tsx index 1c2889a..46c2570 100644 --- a/apps/desktop/src/components/ChatInterface.tsx +++ b/apps/desktop/src/components/ChatInterface.tsx @@ -357,7 +357,9 @@ export const ChatInterface: React.FC = ({ const options: RagGroundingQueryOptions = { sessionId, includeMetadata: showSources, - timeout: 30000 + timeout: 30000, + includeHistory: true, + maxHistoryMessages: 7 }; const result = await queryRagGrounding(userMessage.content, options);