Skip to content

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

FinleyGe
Copy link
Collaborator

@FinleyGe FinleyGe commented Jul 10, 2025

feat: system toolset can be directly use.
perf: MCP toolset logic

Copy link
Contributor

gru-agent bot commented Jul 10, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail b23009a 🚫 Skipped No files need to be tested {"packages/service/core/app/plugin/controller.ts":"File path does not match include patterns.","packages/service/core/app/tool/api.ts":"File path does not match include patterns.","packages/service/core/workflow/dispatch/ai/agent/index.ts":"File path does not match include patterns.","packages/service/core/workflow/dispatch/index.ts":"File path does not match include patterns.","packages/service/core/workflow/dispatch/plugin/run.ts":"File path does not match include patterns.","packages/service/core/workflow/dispatch/plugin/runTool.ts":"File path does not match include patterns.","packages/service/core/workflow/dispatch/utils.ts":"File path does not match include patterns.","pnpm-lock.yaml":"File path does not match include patterns.","projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/components/NodeTemplates/list.tsx":"File path does not match include patterns.","projects/app/src/pages/api/core/app/plugin/getSystemPluginTemplates.ts":"Can no…

History Assignment

Tip

You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

Copy link

github-actions bot commented Jul 10, 2025

Preview mcp_server Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_mcp_server_b00d7696bbcbb57ee51056e7c8228b6f2f98004d

Copy link

github-actions bot commented Jul 10, 2025

Preview sandbox Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_sandbox_b00d7696bbcbb57ee51056e7c8228b6f2f98004d

@FinleyGe FinleyGe force-pushed the feat/system-toolset branch from 27566fd to a34478f Compare July 21, 2025 10:32
@FinleyGe FinleyGe changed the title feat: support system toolset perf: system toolset & mcp Jul 22, 2025
@FinleyGe FinleyGe force-pushed the feat/system-toolset branch from a34478f to bea5dfd Compare July 22, 2025 06:51
@@ -118,7 +118,9 @@ const NodeCard = (props: Props) => {
// 1. Team app/System commercial plugin
if (isAppNode && node?.pluginId && !node?.pluginData?.error) return true;
Copy link
Collaborator

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) {
Copy link
Collaborator

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({
Copy link
Collaborator

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,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不用改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants