fix: 打开多轮会话开关

This commit is contained in:
imeepos 2025-07-22 11:02:30 +08:00
parent 1b39bd9b21
commit 25eaed89d8
1 changed files with 3 additions and 1 deletions

View File

@ -357,7 +357,9 @@ export const ChatInterface: React.FC<ChatInterfaceProps> = ({
const options: RagGroundingQueryOptions = { const options: RagGroundingQueryOptions = {
sessionId, sessionId,
includeMetadata: showSources, includeMetadata: showSources,
timeout: 30000 timeout: 30000,
includeHistory: true,
maxHistoryMessages: 7
}; };
const result = await queryRagGrounding(userMessage.content, options); const result = await queryRagGrounding(userMessage.content, options);