Skip to content

Commit 2aece90

Browse files
committed
feat(chat): compute thinking state in home page
Add the missing isThinking expression that determines when the chat message list should show the Thinking indicator. This is the page-level counterpart to the chat message list component change.
1 parent b4ef432 commit 2aece90

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/desktop-ui/app/(app)/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ function HomeContent() {
103103

104104
const hasMessages = messages.length > 0
105105
const isStreaming = status === "streaming"
106+
const isThinking = isStreaming && !streamingContent && activeToolCalls.length === 0
106107
const composerPlaceholder = activeProject
107108
? `Ask about ${activeProject.name.toLowerCase()}...`
108109
: "Select a project to start..."

0 commit comments

Comments
 (0)