From 25eaed89d8706cc4e36c9e4dc50031ebab69287e Mon Sep 17 00:00:00 2001 From: imeepos Date: Tue, 22 Jul 2025 11:02:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=BC=80=E5=A4=9A=E8=BD=AE?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/desktop/src/components/ChatInterface.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);