chore: cleanup tools, remove useless code (#4833)

This commit is contained in:
Yeuoly
2024-05-31 14:19:59 +08:00
committed by GitHub
parent 176d91937d
commit 85698ca4f7
4 changed files with 1 additions and 106 deletions

View File

@@ -326,14 +326,6 @@ class Tool(BaseModel, ABC):
return parameters
def is_tool_available(self) -> bool:
"""
check if the tool is available
:return: if the tool is available
"""
return True
def create_image_message(self, image: str, save_as: str = '') -> ToolInvokeMessage:
"""
create an image message