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

Function blockWith

apps/sim/lib/workspaces/fork/copy/cleanup-failed.test.ts:103–104  ·  view source on GitHub ↗
(subBlocks: SubBlockConfig[])

Source from the content-addressed store, hash-verified

101import type { BlockConfig, SubBlockConfig } from '@/blocks/types'
102
103const blockWith = (subBlocks: SubBlockConfig[]): BlockConfig =>
104 ({ name: 'Knowledge', description: '', subBlocks, outputs: {} }) as unknown as BlockConfig
105
106/** A KB block whose `documentId` (document-selector) hangs off `knowledgeBaseId` (kb-selector). */
107const kbBlockConfig = () =>

Callers 2

kbBlockConfigFunction · 0.70
agentToolConfigFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected