Commit 7c1cd80b authored by youxiaoji's avatar youxiaoji

* [去掉历史会话信息]

parent 108ccd6d
...@@ -187,7 +187,7 @@ public class DefaultReactExecutor implements ReactExecutor { ...@@ -187,7 +187,7 @@ public class DefaultReactExecutor implements ReactExecutor {
memoryService.getHistoryMessages(sessionId, historyLength); memoryService.getHistoryMessages(sessionId, historyLength);
// 添加历史消息到Prompt // 添加历史消息到Prompt
messages.addAll(historyMessages); // messages.addAll(historyMessages);
// 将当前用户消息添加到内存中,以便下次对话使用 // 将当前用户消息添加到内存中,以便下次对话使用
memoryService.addUserMessageToMemory(sessionId, userInput); memoryService.addUserMessageToMemory(sessionId, userInput);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment