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

Function generateThinkingId

cli/src/utils/block-operations.ts:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15let thinkingIdCounter = 0
16const generateThinkingId = (): string => {
17 thinkingIdCounter++
18 return `thinking-${thinkingIdCounter}`
19}
20
21type AgentTextUpdate =
22 | { type: 'text'; mode: 'append'; content: string; textType: 'text' | 'reasoning' }

Callers 3

appendTextToRootStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected