-
Notifications
You must be signed in to change notification settings - Fork 6.5k
perf: system toolset & mcp #5200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
TestGru AssignmentSummary
Tip You can |
Preview mcp_server Image:
|
Preview sandbox Image:
|
27566fd
to
a34478f
Compare
a34478f
to
bea5dfd
Compare
@@ -118,7 +118,9 @@ const NodeCard = (props: Props) => { | |||
// 1. Team app/System commercial plugin | |||
if (isAppNode && node?.pluginId && !node?.pluginData?.error) return true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if(node?.toolConfig?.mcpTool) return false
@@ -178,8 +174,20 @@ export async function getChildAppPreviewNode({ | |||
}) | |||
: true; | |||
|
|||
if (item.type === AppTypeEnum.toolSet) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&& xx.mcpToolSet
刚好是 mcp toolset
templateType: FlowNodeTemplateTypeEnum.tools, | ||
workflow: { | ||
nodes: [ | ||
getMCPToolRuntimeNode({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我看 nodes 类型是 StoreNodeItemType ?
@@ -260,7 +335,7 @@ export async function getChildAppPreviewNode({ | |||
|
|||
return { | |||
id: getNanoid(), | |||
pluginId: app.id, | |||
pluginId: source === PluginSourceEnum.personal ? app.id : undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不用改
feat: system toolset can be directly use.
perf: MCP toolset logic