MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isReasoningTextBlock

Function isReasoningTextBlock

cli/src/utils/block-processor.ts:23–27  ·  view source on GitHub ↗
(
  block: ContentBlock,
)

Source from the content-addressed store, hash-verified

21 * Type guard for reasoning text blocks (thinking blocks)
22 */
23export 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.

Callers 3

single-block.tsxFile · 0.85
processBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected