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 df673beadd
commit f0a9188f01

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
}