Skip to content

Commit d188a90

Browse files
committed
linting
1 parent c9ad2a0 commit d188a90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/strands/tools/registry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ def register_tool(self, tool: AgentTool) -> None:
192192

193193
# Check duplicate tool name, throw on duplicate tool names except if hot_reloading is enabled
194194
if tool.tool_name in self.registry and not tool.supports_hot_reload:
195-
raise ValueError(
196-
f"Tool name '{tool.tool_name}' already exists. Cannot register tools with exact same name."
197-
)
195+
raise ValueError(
196+
f"Tool name '{tool.tool_name}' already exists. Cannot register tools with exact same name."
197+
)
198198

199199
# Check for normalized name conflicts (- vs _)
200200
if self.registry.get(tool.tool_name) is None:

0 commit comments

Comments
 (0)