mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
refactor: make sanitize_tool_name a static method
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user