change-web-search

This commit is contained in:
Ahmed Ibrahim
2025-10-15 16:26:33 -07:00
parent f4fe99691f
commit c1d951c594
2 changed files with 28 additions and 2 deletions

View File

@@ -96,7 +96,10 @@ impl DisabledTool {
}
pub fn matches_tool_name(&self, tool_name: &str) -> bool {
self.raw_name() == tool_name
match self {
DisabledTool::Known(kind) => kind.raw_name() == tool_name,
DisabledTool::Other(name) => name == tool_name,
}
}
}