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

Function createTextBlock

cli/src/utils/__tests__/block-processor.test.ts:22–31  ·  view source on GitHub ↗
(
  content: string,
  textType?: 'reasoning' | 'text',
)

Source from the content-addressed store, hash-verified

20// ============================================================================
21
22function createTextBlock(
23 content: string,
24 textType?: 'reasoning' | 'text',
25): TextContentBlock {
26 return {
27 type: 'text',
28 content,
29 textType,
30 } as TextContentBlock
31}
32
33function createReasoningBlock(content: string): TextContentBlock {
34 return createTextBlock(content, 'reasoning')

Callers 2

createReasoningBlockFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected