File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/toolbox-langchain/src/toolbox_langchain Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def __init__(
43
43
super ().__init__ (
44
44
name = core_tool .__name__ ,
45
45
description = core_tool .__doc__ ,
46
- args_schema = core_tool ._ToolboxTool__pydantic_model ,
46
+ args_schema = core_tool ._pydantic_model ,
47
47
)
48
48
self .__core_tool = core_tool
49
49
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ def __init__(
45
45
)
46
46
self .__core_sync_tool = core_sync_tool
47
47
48
- def _run (self , ** kwargs : Any ) -> dict [ str , Any ] :
48
+ def _run (self , ** kwargs : Any ) -> str :
49
49
return self .__core_sync_tool (** kwargs )
50
50
51
- async def _arun (self , ** kwargs : Any ) -> dict [ str , Any ] :
51
+ async def _arun (self , ** kwargs : Any ) -> str :
52
52
coro = self .__core_sync_tool ._async_tool (** kwargs )
53
53
54
54
# If a loop has not been provided, attempt to run in current thread.
You can’t perform that action at this time.
0 commit comments