style: applied uniform style across files

This commit is contained in:
2026-08-28 11:35:45 -06:00
parent c170d08654
commit 1e15bc31d5
6 changed files with 13 additions and 23 deletions
+3
View File
@@ -107,13 +107,16 @@ impl McpRuntime {
if let Some(filter) = self.tool_filters.get(server) {
let advertised: Vec<String> =
tools.iter().map(|tool| tool.name.to_string()).collect();
for (source, pattern) in filter.dead_context_patterns(&advertised) {
warn!(
"MCP tool pattern '{pattern}' from {source} matches no allowed tools on server '{server}'"
);
}
tools.retain(|tool| filter.allows(&tool.name));
}
merge_catalog_items(
&mut items,
tools