Skip to content

Commit

Permalink
fix: shared text-generation stream (#3419)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh committed Apr 12, 2024
1 parent a258a90 commit 1c56b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/components/share/text-generation/result/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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' />
Expand Down

0 comments on commit 1c56b48

Please sign in to comment.