refactor: make sanitize_tool_name a static method

This commit is contained in:
Greyson Lalonde
2025-09-12 11:21:48 -04:00
parent aec730f04a
commit e9dc590fc6

View File

@@ -39,7 +39,8 @@ class BaseToolAdapter(ABC):
"""
return self.converted_tools
def sanitize_tool_name(self, tool_name: str) -> str:
@staticmethod
def sanitize_tool_name(tool_name: str) -> str:
"""Sanitize tool name for API compatibility.
Args: