fix(MCPService): prefix tool IDs with 'f' for consistency (#4121)

This commit is contained in:
LiuVaayne
2025-03-30 00:26:47 +08:00
committed by GitHub
parent 8d8abb73fa
commit 93a59a131d
+1 -1
View File
@@ -164,7 +164,7 @@ class McpService {
tools.map((tool: any) => {
const serverTool: MCPTool = {
...tool,
id: nanoid(),
id: `f${nanoid()}`,
serverId: server.id,
serverName: server.name
}