* Checks if a block is a thinking text block (text with thinkingId). * These use thinkingCollapseState instead of isCollapsed.
(block: ContentBlock)
| 18 | * These use thinkingCollapseState instead of isCollapsed. |
| 19 | */ |
| 20 | function isThinkingTextBlock(block: ContentBlock): block is TextContentBlock { |
| 21 | return block.type === 'text' && 'thinkingId' in block && !!block.thinkingId |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Checks if a content block is collapsible. |
no outgoing calls
no test coverage detected