fix: zep memory

This commit is contained in:
Jeffrey-Wang
2023-06-11 23:30:26 +08:00
parent 023967e0c2
commit fd9d6fcb03
4 changed files with 30 additions and 13 deletions
@@ -118,7 +118,7 @@ export const ChatMessage = ({ open, chatflowid, isDialog }) => {
setLoading(true)
setMessages((prevMessages) => [...prevMessages, { message: userInput, type: 'userMessage' }])
// waiting for first chatmessage uploaded, the first chatmessage id will be chatId for every components
// waiting for first chatmessage saved, the first chatmessage will be used in sendMessageAndGetPrediction
await addChatMessage(userInput, 'userMessage')
// Send user question and history to API