diff --git a/webview-ui/src/components/chat/ReasoningBlock.tsx b/webview-ui/src/components/chat/ReasoningBlock.tsx index 06e4f6b11e..fbb34344b3 100644 --- a/webview-ui/src/components/chat/ReasoningBlock.tsx +++ b/webview-ui/src/components/chat/ReasoningBlock.tsx @@ -72,18 +72,22 @@ export const ReasoningBlock = ({ content, ts, isStreaming, isLast, metadata }: R const secondsLabel = t("chat:reasoning.seconds", { count: seconds }) return ( -
-
- - {t("chat:reasoning.thinking")} - - +
+
+
+ + {t("chat:reasoning.thinking")} +
+ + {secondsLabel}
-
- -
+ {(content?.trim()?.length ?? 0) > 0 && ( +
+ +
+ )}
) }