( block: ContentBlock, )
| 21 | * Type guard for reasoning text blocks (thinking blocks) |
| 22 | */ |
| 23 | export function isReasoningTextBlock( |
| 24 | block: ContentBlock, |
| 25 | ): block is Extract<ContentBlock, { type: 'text' }> { |
| 26 | return block.type === 'text' && block.textType === 'reasoning' |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Handler callbacks for processing different block types. |
no outgoing calls
no test coverage detected