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 7e67005e70
commit de8dbb2646
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
}