diff --git a/web/src/controllers/ReasoningController/ReasoningMessages/BarContainer.tsx b/web/src/controllers/ReasoningController/ReasoningMessages/BarContainer.tsx index b50cbe845..e7d4e1936 100644 --- a/web/src/controllers/ReasoningController/ReasoningMessages/BarContainer.tsx +++ b/web/src/controllers/ReasoningController/ReasoningMessages/BarContainer.tsx @@ -13,10 +13,14 @@ export const BarContainer: React.FC<{ children?: React.ReactNode; title: string; secondaryTitle?: string; -}> = React.memo(({ showBar, status, children, title, secondaryTitle }) => { +}> = React.memo(({ showBar, isCompletedStream, status, children, title, secondaryTitle }) => { return (
- +
@@ -31,37 +35,44 @@ BarContainer.displayName = 'BarContainer'; const VerticalBarContainer: React.FC<{ showBar: boolean; status: BusterChatMessageReasoning_status; -}> = React.memo(({ showBar, status }) => { + isCompletedStream: boolean; +}> = React.memo(({ showBar, isCompletedStream, status }) => { return (
- +
); }); VerticalBarContainer.displayName = 'BarContainer'; -const VerticalBar: React.FC<{ show?: boolean }> = ({ show }) => { - return ( -
- -
- ); -}; +const VerticalBar: React.FC<{ show?: boolean; isCompletedStream: boolean }> = React.memo( + ({ show, isCompletedStream }) => { + return ( +
+ + + +
+ ); + } +); + +VerticalBar.displayName = 'VerticalBar'; const TitleContainer: React.FC<{ title: string;