fix: respect declared claude web search tool names
This commit is contained in:
@@ -377,8 +377,6 @@ func buildClaudeWebSearchToolNameSet(tools gjson.Result) map[string]struct{} {
|
||||
return true
|
||||
}
|
||||
|
||||
names["web_search"] = struct{}{}
|
||||
names[toolType] = struct{}{}
|
||||
if name := tool.Get("name").String(); name != "" {
|
||||
names[name] = struct{}{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user