🔀 chore(base.py): add "BaseTool" to the base_classes list in get_signature method
The "BaseTool" class is added to the base_classes list in the get_signature method. This change ensures that the "BaseTool" class is considered as one of the base classes when creating a tool's signature.
This commit is contained in:
parent
9094876ed3
commit
e36027b679
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class ToolCreator(LangChainTypeCreator):
|
|||
def get_signature(self, name: str) -> Optional[Dict]:
|
||||
"""Get the signature of a tool."""
|
||||
|
||||
base_classes = ["Tool"]
|
||||
base_classes = ["Tool", "BaseTool"]
|
||||
fields = []
|
||||
params = []
|
||||
tool_params = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue