FD900's picture
Rename tools/base.py to tools/tool_base.py
eaef71d verified
raw
history blame
245 Bytes
class Tool:
name = ""
description = ""
inputs = {}
output_type = "string"
def __init__(self, **kwargs):
pass
def forward(self, **kwargs):
raise NotImplementedError("Tool must implement forward method.")