Skip to content

Commit

Permalink
more generic tool
Browse files Browse the repository at this point in the history
  • Loading branch information
leehuwuj committed Jan 23, 2025
1 parent e45d2fc commit 51c6558
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def from_tools_or_functions(

tools = [
FunctionTool.from_defaults(fn=tool)
if not isinstance(tool, FunctionTool)
if not isinstance(tool, BaseTool)
else tool
for tool in tools_or_functions
]
Expand Down

0 comments on commit 51c6558

Please sign in to comment.