diff --git a/web/app/components/share/text-generation/result/index.tsx b/web/app/components/share/text-generation/result/index.tsx index 9272c20548..90119a8aa4 100644 --- a/web/app/components/share/text-generation/result/index.tsx +++ b/web/app/components/share/text-generation/result/index.tsx @@ -205,7 +205,6 @@ const Result: FC = ({ expand: false, resultText: '', }) - setRespondingFalse() }, onIterationStart: ({ data }) => { setWorkflowProccessData(produce(getWorkflowProccessData()!, (draft) => { @@ -370,7 +369,7 @@ const Result: FC = ({ return (
- {!isCallBatchAPI && ( + {!isCallBatchAPI && !isWorkflow && ( (isResponding && !completionRes) ? (
@@ -378,13 +377,26 @@ const Result: FC = ({
) : ( <> - {(isNoData && !workflowProcessData) + {(isNoData) ? : renderTextGenerationRes() } ) )} + { + !isCallBatchAPI && isWorkflow && ( + (isResponding && !workflowProcessData) + ? ( +
+ +
+ ) + : !workflowProcessData + ? + : renderTextGenerationRes() + ) + } {isCallBatchAPI && (
{renderTextGenerationRes()}