From 949601ca02aa62bcdcb1ea56743c61ec64dbde2c Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Thu, 9 Apr 2026 23:46:43 -0700 Subject: [PATCH] lint --- .../message-content/components/chat-content/chat-content.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsx b/apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsx index cd8bf1a729..0250143091 100644 --- a/apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsx +++ b/apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsx @@ -242,7 +242,10 @@ export function ChatContent({ const hasSpecialContent = parsed.hasPendingTag || parsed.segments.some((s) => s.type !== 'text') if (hasSpecialContent) { - type BlockSegment = Exclude + type BlockSegment = Exclude< + ContentSegment, + { type: 'text' } | { type: 'thinking' } | { type: 'workspace_resource' } + > type RenderGroup = | { kind: 'inline'; markdown: string } | { kind: 'block'; segment: BlockSegment; index: number }