Skip to content

Commit 0649d9b

Browse files
committed
fixup
1 parent 861bec5 commit 0649d9b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/mcp/mcp_parse.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ func loadToolDefinitions(data []byte) (map[string]*ToolDef, error) {
100100
tools[tool.Name] = tool
101101
}
102102

103-
// make it so that can find a tool definition by it's original name (RawName) and normalized name (Name())
104-
tools[def.RawName] = def
105-
tools[def.Name()] = def
106-
107103
if len(decoder.errors) > 0 {
108104
return tools, errors.Append(nil, decoder.errors...)
109105
}

0 commit comments

Comments
 (0)