(subBlocks: SubBlockConfig[])
| 101 | import type { BlockConfig, SubBlockConfig } from '@/blocks/types' |
| 102 | |
| 103 | const 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). */ |
| 107 | const kbBlockConfig = () => |
no outgoing calls
no test coverage detected