ソースを参照

fix: shared text-generation stream (#3419)

zxhlyh 1 年間 前
コミット
1c56b48238
1 ファイル変更1 行追加1 行削除
  1. 1 1
      web/app/components/share/text-generation/result/index.tsx

+ 1 - 1
web/app/components/share/text-generation/result/index.tsx

@@ -327,7 +327,7 @@ const Result: FC<IResultProps> = ({
   return (
     <div className={cn(isNoData && !isCallBatchAPI && 'h-full')}>
       {!isCallBatchAPI && (
-        (isResponding && (!completionRes || !isWorkflow))
+        (isResponding && !completionRes)
           ? (
             <div className='flex h-full w-full justify-center items-center'>
               <Loading type='area' />