diff --git a/webui/src/components/MessageBubble.tsx b/webui/src/components/MessageBubble.tsx
index abf85f663..bd1d8c93b 100644
--- a/webui/src/components/MessageBubble.tsx
+++ b/webui/src/components/MessageBubble.tsx
@@ -92,7 +92,7 @@ export function MessageBubble({ message }: MessageBubbleProps) {
return (
{hasReasoning ? (
-
+
) : null}
{empty && message.isStreaming && !hasReasoning ? (
@@ -443,6 +443,7 @@ function TraceGroup({ message, animClass }: TraceGroupProps) {
interface ReasoningBubbleProps {
text: string;
streaming: boolean;
+ hasBodyBelow: boolean;
}
/**
@@ -456,7 +457,7 @@ interface ReasoningBubbleProps {
* the user can re-expand to inspect the chain of thought. The local
* toggle persists once the user interacts.
*/
-function ReasoningBubble({ text, streaming }: ReasoningBubbleProps) {
+function ReasoningBubble({ text, streaming, hasBodyBelow }: ReasoningBubbleProps) {
const { t } = useTranslation();
const [userToggled, setUserToggled] = useState(false);
const [openLocal, setOpenLocal] = useState(true);
@@ -466,7 +467,12 @@ function ReasoningBubble({ text, streaming }: ReasoningBubbleProps) {
setOpenLocal((v) => (userToggled ? !v : !open));
};
return (
-
+