yangdx commited on
Commit
745feee
·
1 Parent(s): 3baeee6

Fix useCallback Hook

Browse files
lightrag_webui/src/features/RetrievalTesting.tsx CHANGED
@@ -102,7 +102,7 @@ export default function RetrievalTesting() {
102
  .setRetrievalHistory([...prevMessages, userMessage, assistantMessage])
103
  }
104
  },
105
- [inputValue, isLoading, messages, setMessages, t]
106
  )
107
 
108
  const debouncedMessages = useDebounce(messages, 100)
 
102
  .setRetrievalHistory([...prevMessages, userMessage, assistantMessage])
103
  }
104
  },
105
+ [inputValue, isLoading, messages, setMessages, t, scrollToBottom]
106
  )
107
 
108
  const debouncedMessages = useDebounce(messages, 100)