🐛 fix(tools.py): add "BaseTool" as a base class for PythonFunctionToolNode to fix inheritance issue
This commit is contained in:
parent
9df88167c2
commit
7b2db83033
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class PythonFunctionToolNode(FrontendNode):
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
description: str = "Python function to be executed."
|
description: str = "Python function to be executed."
|
||||||
base_classes: list[str] = ["Tool"]
|
base_classes: list[str] = ["BaseTool", "Tool"]
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
return super().to_dict()
|
return super().to_dict()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue