mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-05 06:33:20 +00:00
[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:
parent
cef21a0b49
commit
ec9b41431e
@ -609,7 +609,7 @@ class ChildTool(BaseTool):
|
|||||||
run_id: The id of the run. Defaults to None.
|
run_id: The id of the run. Defaults to None.
|
||||||
config: The configuration for the tool. Defaults to None.
|
config: The configuration for the tool. Defaults to None.
|
||||||
tool_call_id: The id of the tool call. 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:
|
Returns:
|
||||||
The output of the tool.
|
The output of the tool.
|
||||||
@ -721,7 +721,7 @@ class ChildTool(BaseTool):
|
|||||||
run_id: The id of the run. Defaults to None.
|
run_id: The id of the run. Defaults to None.
|
||||||
config: The configuration for the tool. Defaults to None.
|
config: The configuration for the tool. Defaults to None.
|
||||||
tool_call_id: The id of the tool call. 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:
|
Returns:
|
||||||
The output of the tool.
|
The output of the tool.
|
||||||
|
Loading…
Reference in New Issue
Block a user