diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx index 060f0a68d9a..c6948674bfb 100644 --- a/gui/src/pages/gui/Chat.tsx +++ b/gui/src/pages/gui/Chat.tsx @@ -328,7 +328,7 @@ export function Chat() { redactedThinking={message.redactedThinking} index={index} prevItem={index > 0 ? history[index - 1] : null} - inProgress={index === history.length - 1} + inProgress={index === history.length - 1 && isStreaming} signature={message.signature} /> @@ -356,7 +356,7 @@ export function Chat() { ); }, - [sendInput, isLastUserInput, history, stepsOpen], + [sendInput, isLastUserInput, history, stepsOpen, isStreaming], ); const showScrollbar = showChatScrollbar ?? window.innerHeight > 5000;