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

Function kbBlockConfig

apps/sim/lib/workspaces/fork/copy/cleanup-failed.test.ts:107–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106/** A KB block whose `documentId` (document-selector) hangs off `knowledgeBaseId` (kb-selector). */
107const kbBlockConfig = () =>
108 blockWith([
109 { id: 'knowledgeBaseId', title: 'KB', type: 'knowledge-base-selector' },
110 { id: 'documentId', title: 'Doc', type: 'document-selector', dependsOn: ['knowledgeBaseId'] },
111 ])
112
113/** An agent block whose `tools` tool-input holds a KB tool with a nested `knowledgeBaseId` param. */
114const agentToolConfig = (type: string): BlockConfig => {

Callers 1

Calls 1

blockWithFunction · 0.70

Tested by

no test coverage detected