fix: shared text-generation stream (#3419)

This commit is contained in:
zxhlyh 2024-04-12 16:43:39 +08:00 committed by GitHub
parent a258a90291
commit 1c56b48238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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' />