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

Function createTextBlock

cli/src/utils/block-operations.ts:124–128  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

122 * Creates a new regular text block.
123 */
124const createTextBlock = (content: string): TextContentBlock => ({
125 type: 'text',
126 content,
127 textType: 'text',
128})
129
130/**
131 * Shared logic for appending text with think tag parsing.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected