We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce27637 commit 58ad435Copy full SHA for 58ad435
1 file changed
packages/ui/src/components/session-turn.tsx
@@ -91,7 +91,7 @@ function partState(part: PartType, showReasoningSummaries: boolean) {
91
}
92
if (part.type === "text") return part.text?.trim() ? ("visible" as const) : undefined
93
if (part.type === "reasoning") {
94
- if (showReasoningSummaries) return "visible" as const
+ if (showReasoningSummaries && part.text?.trim()) return "visible" as const
95
return
96
97
if (PART_MAPPING[part.type]) return "visible" as const
0 commit comments