diff --git a/ui/src/components/chat/ChatView.tsx b/ui/src/components/chat/ChatView.tsx index dbda402..c8e2218 100644 --- a/ui/src/components/chat/ChatView.tsx +++ b/ui/src/components/chat/ChatView.tsx @@ -1,6 +1,7 @@ import { useRef, useEffect } from 'react'; import ChatMessage from './ChatMessage'; import ChatInput from './ChatInput'; +import ThinkingIndicator from './ThinkingIndicator'; import ThemeToggle from '@/components/ThemeToggle'; import type { Message, FileAttachment } from '@/lib/llm'; @@ -41,6 +42,9 @@ export default function ChatView({ ))} + {/* Thinking indicator — visible before first stream token */} + {isLoading && !streamingContent && } + {/* Streaming Message */} {streamingContent && ( +
+ + + + Thinking... +
+ + ); +}