Skip to content

Commit 46a6948

Browse files
committed
fix: Fix reading name from correct param
1 parent 6ba443e commit 46a6948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-langchain/tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def toolbox(self):
5454
@pytest_asyncio.fixture(scope="function")
5555
async def get_n_rows_tool(self, toolbox):
5656
tool = await toolbox.aload_tool("get-n-rows")
57-
assert tool._ToolboxTool__async_tool._AsyncToolboxTool__name == "get-n-rows"
57+
assert tool._ToolboxTool__core_sync_tool.__name__ == "get-n-rows"
5858
return tool
5959

6060
#### Basic e2e tests

0 commit comments

Comments
 (0)