From 213293277d5db4f0eb88d66feb5b772606e50bb7 Mon Sep 17 00:00:00 2001 From: Chengxun Lee <24319042+bclswl0827@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:40:35 +0800 Subject: [PATCH] Show typewriter effect when generating response --- src/views/Chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Chat.tsx b/src/views/Chat.tsx index 4b325c9..a554983 100644 --- a/src/views/Chat.tsx +++ b/src/views/Chat.tsx @@ -238,7 +238,7 @@ const Chat = () => { `; if ( - !ai.busy && + ai.busy && role === SessionRole.Model && index === chat.length - 1 ) {