chore: cleanup tools, remove useless code (#4833)
This commit is contained in:
parent
176d91937d
commit
85698ca4f7
4 changed files with 1 additions and 106 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue