[Core]: Small Docstring Clarification for BaseTool (#28148)

- **Description:** `kwargs` are not being passed to `run` of the
`BaseTool` which has been fixed
- **Issue:** #28114

---------

Co-authored-by: Stevan Kapicic <kapicic.ste1@gmail.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Mohammad Mohtashim 2024-12-09 11:10:19 +05:00 committed by GitHub
parent cef21a0b49
commit ec9b41431e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -609,7 +609,7 @@ class ChildTool(BaseTool):
run_id: The id of the run. Defaults to None.
config: The configuration for the tool. Defaults to None.
tool_call_id: The id of the tool call. Defaults to None.
kwargs: Additional arguments to pass to the tool
kwargs: Keyword arguments to be passed to tool callbacks
Returns:
The output of the tool.
@ -721,7 +721,7 @@ class ChildTool(BaseTool):
run_id: The id of the run. Defaults to None.
config: The configuration for the tool. Defaults to None.
tool_call_id: The id of the tool call. Defaults to None.
kwargs: Additional arguments to pass to the tool
kwargs: Keyword arguments to be passed to tool callbacks
Returns:
The output of the tool.