diff --git a/src/toolbox_langchain/async_tools.py b/src/toolbox_langchain/async_tools.py index ef77bfd6..998580d4 100644 --- a/src/toolbox_langchain/async_tools.py +++ b/src/toolbox_langchain/async_tools.py @@ -121,7 +121,7 @@ def __init__( schema.parameters = non_auth_non_bound_params # Due to how pydantic works, we must initialize the underlying - # StructuredTool class before assigning values to member variables. + # BaseTool class before assigning values to member variables. super().__init__( name=name, description=schema.description, diff --git a/src/toolbox_langchain/tools.py b/src/toolbox_langchain/tools.py index c62ab1a9..f19b3d61 100644 --- a/src/toolbox_langchain/tools.py +++ b/src/toolbox_langchain/tools.py @@ -46,7 +46,7 @@ def __init__( """ # Due to how pydantic works, we must initialize the underlying - # StructuredTool class before assigning values to member variables. + # BaseTool class before assigning values to member variables. super().__init__( name=async_tool.name, description=async_tool.description, @@ -181,8 +181,8 @@ def bind_param( parameter. Args: - param_name: The name of the bound parameter. param_value: The value - of the bound parameter, or a callable that + param_name: The name of the bound parameter. + param_value: The value of the bound parameter, or a callable that returns the value. strict: If True, a ValueError is raised if any of the provided bound params is not defined in the tool's schema, or requires