mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Synchronize MCP data to agent #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -569,6 +569,11 @@ export function getAgentNodeTools(agentNode?: RAGFlowNodeType) {
|
||||
return tools;
|
||||
}
|
||||
|
||||
export function getAgentNodeMCP(agentNode?: RAGFlowNodeType) {
|
||||
const tools: IAgentForm['mcp'] = get(agentNode, 'data.form.mcp', []);
|
||||
return tools;
|
||||
}
|
||||
|
||||
export function mapEdgeMouseEvent(
|
||||
edges: Edge[],
|
||||
edgeId: string,
|
||||
|
||||
Reference in New Issue
Block a user