mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-28 03:00:29 -04:00
lint
This commit is contained in:
@@ -242,7 +242,10 @@ export function ChatContent({
|
||||
const hasSpecialContent = parsed.hasPendingTag || parsed.segments.some((s) => s.type !== 'text')
|
||||
|
||||
if (hasSpecialContent) {
|
||||
type BlockSegment = Exclude<ContentSegment, { type: 'text' } | { type: 'thinking' } | { type: 'workspace_resource' }>
|
||||
type BlockSegment = Exclude<
|
||||
ContentSegment,
|
||||
{ type: 'text' } | { type: 'thinking' } | { type: 'workspace_resource' }
|
||||
>
|
||||
type RenderGroup =
|
||||
| { kind: 'inline'; markdown: string }
|
||||
| { kind: 'block'; segment: BlockSegment; index: number }
|
||||
|
||||
Reference in New Issue
Block a user