File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/toolbox-langchain/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ async def test_aload_toolset_specific(
71
71
toolset = await toolbox .aload_toolset (toolset_name )
72
72
assert len (toolset ) == expected_length
73
73
for tool in toolset :
74
- name = tool ._ToolboxTool__async_tool . _AsyncToolboxTool__name
74
+ name = tool ._ToolboxTool__core_sync_tool . __name__
75
75
assert name in expected_tools
76
76
77
77
async def test_aload_toolset_all (self , toolbox ):
@@ -85,7 +85,7 @@ async def test_aload_toolset_all(self, toolbox):
85
85
"get-row-by-content-auth" ,
86
86
]
87
87
for tool in toolset :
88
- name = tool ._ToolboxTool__async_tool . _AsyncToolboxTool__name
88
+ name = tool ._ToolboxTool__core_sync_tool . __name__
89
89
assert name in tool_names
90
90
91
91
async def test_run_tool_async (self , get_n_rows_tool ):
You can’t perform that action at this time.
0 commit comments