diff --git a/web/screens/Chat/ChatBody/index.tsx b/web/screens/Chat/ChatBody/index.tsx index be6107d1d..ed950c699 100644 --- a/web/screens/Chat/ChatBody/index.tsx +++ b/web/screens/Chat/ChatBody/index.tsx @@ -34,17 +34,15 @@ const ChatBody: React.FC = () => { )} - {loadModelError ? ( - - ) : ( + {!loadModelError && index === messages.length - 1 && message.status !== MessageStatus.Pending && message.status !== MessageStatus.Ready && ( - ) - )} + )} ))} + {loadModelError && } ) }