Skip to content

Commit 6190f69

Browse files
committed
fix(mothership): content block spaces trimmed
1 parent 3d909d5 commit 6190f69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/app/workspace/[workspaceId]/home/components/message-content/message-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function parseBlocks(blocks: ContentBlock[]): MessageSegment[] {
157157
}
158158

159159
if (block.type === 'text') {
160-
if (!block.content?.trim()) continue
160+
if (!block.content) continue
161161
if (block.subagent) {
162162
if (group && group.agentName === block.subagent) {
163163
group.isDelegating = false

0 commit comments

Comments
 (0)