From bffeee1993ec2c181bca40c6a80d403fa6e8b0be Mon Sep 17 00:00:00 2001 From: miclon Date: Fri, 26 Sep 2025 16:35:42 +0800 Subject: [PATCH] refactor(registry): optimize variable naming --- src/strands/tools/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strands/tools/registry.py b/src/strands/tools/registry.py index 0660337a2..899f6af6c 100644 --- a/src/strands/tools/registry.py +++ b/src/strands/tools/registry.py @@ -202,7 +202,7 @@ def register_tool(self, tool: AgentTool) -> None: matching_tools = [ tool_name - for (tool_name, tool) in self.registry.items() + for (tool_name, _) in self.registry.items() if tool_name.replace("-", "_") == normalized_name ]