Skip to content

Commit 433339b

Browse files
committed
fix: Fix getting pydantic model from ToolboxSyncTool
1 parent b22d2eb commit 433339b

File tree

1 file changed

+1
-1
lines changed
  • packages/toolbox-langchain/src/toolbox_langchain

1 file changed

+1
-1
lines changed

packages/toolbox-langchain/src/toolbox_langchain/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(
4141
super().__init__(
4242
name=self.__core_sync_tool.__name__,
4343
description=self.__core_sync_tool.__doc__,
44-
args_schema=self.__core_sync_tool._ToolboxSyncTool__pydantic_model,
44+
args_schema=self.__core_sync_tool._ToolboxSyncTool__async_tool._ToolboxTool__pydantic_model,
4545
)
4646

4747
def _run(self, **kwargs: Any) -> dict[str, Any]:

0 commit comments

Comments
 (0)