diff --git a/web/app/components/base/chat/chat/answer/index.tsx b/web/app/components/base/chat/chat/answer/index.tsx index 53589cfecf..1d69b5f905 100644 --- a/web/app/components/base/chat/chat/answer/index.tsx +++ b/web/app/components/base/chat/chat/answer/index.tsx @@ -73,7 +73,6 @@ const Answer: FC = ({ } = item const hasAgentThoughts = !!agent_thoughts?.length const hasHumanInputs = !!humanInputFormDataList?.length || !!humanInputFilledFormDataList?.length - const hasHumanInputFormSubmitted = !!humanInputFilledFormDataList?.length const [containerWidth, setContainerWidth] = useState(0) const [contentWidth, setContentWidth] = useState(0) @@ -179,7 +178,7 @@ const Answer: FC = ({ )} {/* Block 2: Response Content (when human inputs exist) */} - {hasHumanInputFormSubmitted && ( + {hasHumanInputs && (responding || !contentIsEmpty || hasAgentThoughts) && (