mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
fix(MCPService): prefix tool IDs with 'f' for consistency (#4121)
This commit is contained in:
parent
df673beadd
commit
f0a9188f01
@ -164,7 +164,7 @@ class McpService {
|
|||||||
tools.map((tool: any) => {
|
tools.map((tool: any) => {
|
||||||
const serverTool: MCPTool = {
|
const serverTool: MCPTool = {
|
||||||
...tool,
|
...tool,
|
||||||
id: nanoid(),
|
id: `f${nanoid()}`,
|
||||||
serverId: server.id,
|
serverId: server.id,
|
||||||
serverName: server.name
|
serverName: server.name
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user