Skip to content

Commit 58ad435

Browse files
committed
chore: cleanup
1 parent ce27637 commit 58ad435

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ui/src/components/session-turn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function partState(part: PartType, showReasoningSummaries: boolean) {
9191
}
9292
if (part.type === "text") return part.text?.trim() ? ("visible" as const) : undefined
9393
if (part.type === "reasoning") {
94-
if (showReasoningSummaries) return "visible" as const
94+
if (showReasoningSummaries && part.text?.trim()) return "visible" as const
9595
return
9696
}
9797
if (PART_MAPPING[part.type]) return "visible" as const

0 commit comments

Comments
 (0)