MCPcopy Index your code
hub / github.com/simstudioai/sim / isTokenizableBlockType

Function isTokenizableBlockType

apps/sim/lib/tokenization/utils.ts:52–55  ·  view source on GitHub ↗
(blockType?: string)

Source from the content-addressed store, hash-verified

50 * Checks if a block type should be tokenized
51 */
52export function isTokenizableBlockType(blockType?: string): boolean {
53 if (!blockType) return false
54 return LLM_BLOCK_TYPES.includes(blockType as any)
55}
56
57/**
58 * Checks if tokens/cost data is meaningful (non-zero)

Callers 1

processStreamingBlockLogFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected