mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +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
|
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.
|
"""Sanitize tool name for API compatibility.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
|||||||
Reference in New Issue
Block a user