()
| 105 | |
| 106 | /** A KB block whose `documentId` (document-selector) hangs off `knowledgeBaseId` (kb-selector). */ |
| 107 | const 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. */ |
| 114 | const agentToolConfig = (type: string): BlockConfig => { |
no test coverage detected