Skip to content

Commit 78d5bf9

Browse files
committed
fixup
1 parent 85e60f9 commit 78d5bf9

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
@@ -105,10 +105,6 @@ func loadToolDefinitions(data []byte) (map[string]*ToolDef, error) {
105105
tools[tool.Name] = tool
106106
}
107107

108-
// make it so that can find a tool definition by it's original name (RawName) and normalized name (Name())
109-
tools[def.RawName] = def
110-
tools[def.Name()] = def
111-
112108
if len(decoder.errors) > 0 {
113109
return tools, errors.Append(nil, decoder.errors...)
114110
}

0 commit comments

Comments
 (0)