The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): the onboarding chat shows the model's reasoning like any chat
alt-glitchead510c27cf7
diff --git a/apps/desktop/src/components/assistant-ui/thread/message-parts.tsx b/apps/desktop/src/components/assistant-ui/thread/message-parts.tsxindex 747bf6739db..6d8bde8b858 100644--- a/apps/desktop/src/components/assistant-ui/thread/message-parts.tsx+++ b/apps/desktop/src/components/assistant-ui/thread/message-parts.tsx@@ -26,7 +26,6 @@ import { formatElapsed, useElapsedSeconds, useMeasuredDuration } from '@/componeimport { ActivityTimerText } from '@/components/chat/activity-timer-text'import { GeneratedImage } from '@/components/chat/generated-image-result'import { SCAFFOLD_LABEL_CLASS, SCAFFOLD_META_CLASS, ScaffoldRow } from '@/components/chat/scaffold-row'-import { useOnboardingChatActive } from '@/components/onboarding/first-run/assembly'import { useI18n } from '@/i18n'import { mcpTargets, toolLabels } from '@/lib/connector-tools'import { generatedImageFromResult } from '@/lib/generated-images'@@ -368,10 +367,6 @@ const ReasoningAccordionGroup: FC<{ children?: ReactNode; endIndex: number; starconst showReasoning = useStore($showReasoning)const messageId = useAuiState(s => s.message.id)const messageRunning = useAuiState(s => s.message.status?.type === 'running')- // The guide's reasoning is it reading its own runbook ("Now step 4: offer- // the layout picker"), and a first-time user reading that alongside the- // greeting breaks the one conversation the guide is trying to have.- const guidedChat = useOnboardingChatActive()const pending = useAuiState(s =>@@ -410,7 +405,7 @@ const ReasoningAccordionGroup: FC<{ children?: ReactNode; endIndex: number; star}, undefined))- if (!hasContent || guidedChat || !showReasoning) {+ if (!hasContent || !showReasoning) {return null}diff --git a/apps/desktop/src/components/assistant-ui/thread/status.tsx b/apps/desktop/src/components/assistant-ui/thread/status.tsxindex 8c9431d4c61..d9ebf1575f4 100644--- a/apps/desktop/src/components/assistant-ui/thread/status.tsx+++ b/apps/desktop/src/components/assistant-ui/thread/status.tsx@@ -8,7 +8,6 @@ import { toolPresentVerb } from '@/components/assistant-ui/tool/run-summary'import { useElapsedSeconds } from '@/components/chat/activity-timer'import { ActivityTimerText } from '@/components/chat/activity-timer-text'import { SCAFFOLD_LABEL_CLASS } from '@/components/chat/scaffold-row'-import { useOnboardingChatActive } from '@/components/onboarding/first-run/assembly'import { Codicon } from '@/components/ui/codicon'import { Loader } from '@/components/ui/loader'import { StatusPulse } from '@/components/ui/status-pulse'@@ -370,9 +369,7 @@ const TurnActivityRow: FC<TurnActivityRowProps> = ({ active, elapsed, hint, locaexport const TurnActivityIndicator: FC<{ thinking?: boolean }> = ({ thinking = false }) => {// Same rule the reasoning disclosure renders by (message-parts.tsx).const showReasoning = useStore($showReasoning)- const guidedChat = useOnboardingChatActive()- const reasoningShown = showReasoning && !guidedChat- const activity = useAuiState(s => activitySignature(s.message.content, reasoningShown))+ const activity = useAuiState(s => activitySignature(s.message.content, showReasoning))// Timestamp of the last visible progress, held from the moment the quiet// spell qualifies. Holding the timestamp (not a boolean) is what lets the@@ -446,7 +443,7 @@ export const TurnActivityIndicator: FC<{ thinking?: boolean }> = ({ thinking = f// A reply that has only thought so far, with the thinking not drawn, has// still put nothing on screen: it keeps the pre-first-token row.- if (thinking && !reasoningShown) {+ if (thinking && !showReasoning) {return <ResponseLoadingIndicator />}