fix: 打开多轮会话开关
This commit is contained in:
parent
1b39bd9b21
commit
25eaed89d8
|
|
@ -357,7 +357,9 @@ export const ChatInterface: React.FC<ChatInterfaceProps> = ({
|
|||
const options: RagGroundingQueryOptions = {
|
||||
sessionId,
|
||||
includeMetadata: showSources,
|
||||
timeout: 30000
|
||||
timeout: 30000,
|
||||
includeHistory: true,
|
||||
maxHistoryMessages: 7
|
||||
};
|
||||
|
||||
const result = await queryRagGrounding(userMessage.content, options);
|
||||
|
|
|
|||
Loading…
Reference in New Issue