diff --git a/components/message.tsx b/components/message.tsx index 02649bb..71ba41b 100644 --- a/components/message.tsx +++ b/components/message.tsx @@ -103,7 +103,7 @@ const PurePreviewMessage = ({ const { type } = part; const key = `message-${message.id}-part-${index}`; - if (type === 'reasoning') { + if (type === 'reasoning' && part.text?.trim().length > 0) { return (