|
21 | 21 | export function fetchTabData() { |
22 | 22 | const llmConfig = agentLlmConfigCmp?.fetchLlmConfig(); |
23 | 23 | const utilities = agentUtilityCmp?.fetchUtilities(); |
24 | | - // const knwoledgebases = agentKnowledgeBaseCmp?.fetchKnowledgeBases(); |
25 | 24 | const rules = agentEventRuleCmp?.fetchRules(); |
26 | 25 | const mcpTools = agentMcpToolCmp?.fetchMcpTools(); |
27 | 26 |
|
28 | 27 | return { |
29 | 28 | llmConfig, |
30 | 29 | utilities: utilities || [], |
31 | | - // knwoledgebases: knwoledgebases || [], |
32 | 30 | rules: rules || [], |
33 | 31 | mcpTools: mcpTools || [] |
34 | 32 | }; |
|
50 | 48 | { name: 'agent-llm-config', displayText: 'LLm Configs' }, |
51 | 49 | { name: 'agent-routing-rule', displayText: 'Routing' }, |
52 | 50 | { name: 'agent-utility', displayText: 'Utilities' }, |
53 | | - // { name: 'agent-knowledgebase', displayText: 'Knowledge Base' }, |
54 | 51 | { name: 'agent-event-rule', displayText: 'Triggers & Rules' }, |
55 | 52 | { name: 'agent-mcp-tool', displayText: 'MCP Tools' } |
56 | 53 | ]); |
|
93 | 90 | <div class:hide={selectedTab !== 'agent-utility'}> |
94 | 91 | <AgentUtility agent={agent} bind:this={agentUtilityCmp} {handleAgentChange} /> |
95 | 92 | </div> |
96 | | - <!-- <div class:hide={selectedTab !== 'agent-knowledgebase'}> |
97 | | - <AgentKnowledgeBase agent={agent} bind:this={agentKnowledgeBaseCmp} {handleAgentChange} /> |
98 | | - </div> --> |
99 | 93 | <div class:hide={selectedTab !== 'agent-event-rule'}> |
100 | 94 | <AgentEventRule agent={agent} bind:this={agentEventRuleCmp} {handleAgentChange} /> |
101 | 95 | </div> |
|
0 commit comments