chore: rerank documents verify non-empty

This commit is contained in:
jialin
2024-12-04 15:15:35 +08:00
parent bed3684a0c
commit 241930cefe
9 changed files with 66 additions and 15 deletions
@@ -85,6 +85,7 @@ interface MessageInputProps {
submitIcon?: React.ReactNode;
presetPrompt?: (list: CurrentMessage[]) => void;
addMessage?: (message: CurrentMessage) => void;
title?: React.ReactNode;
tools?: React.ReactNode;
loading: boolean;
disabled: boolean;
@@ -107,6 +108,7 @@ const MessageInput: React.FC<MessageInputProps> = forwardRef(
updateLayout,
addMessage,
onCheck,
title,
loading,
disabled,
isEmpty,