diff --git a/web/app/components/share/chatbot/index.tsx b/web/app/components/share/chatbot/index.tsx index 2c074ba8d2..2c6d6f7c82 100644 --- a/web/app/components/share/chatbot/index.tsx +++ b/web/app/components/share/chatbot/index.tsx @@ -385,6 +385,7 @@ const Main: FC = ({ const [messageTaskId, setMessageTaskId] = useState('') const [hasStopResponded, setHasStopResponded, getHasStopResponded] = useGetState(false) const [shouldReload, setShouldReload] = useState(false) + const [userQuery, setUserQuery] = useState('') const [visionConfig, setVisionConfig] = useState({ enabled: false, number_limits: 2, @@ -622,6 +623,8 @@ const Main: FC = ({