fix: Update README and quickstart with the correct async APIs. (#269)

This commit is contained in:
Anubhav Dhawan
2025-02-06 04:09:24 +05:30
committed by GitHub
parent 2a78de8f46
commit 21eef2e198
2 changed files with 2 additions and 2 deletions

View File

@@ -258,7 +258,7 @@ You can load toolsets by name:
all_tools = await client.aload_toolset()
# This will only load the tools listed in 'my_second_toolset'
my_second_toolset = await aclient.load_toolset("my_second_toolset")
my_second_toolset = await client.aload_toolset("my_second_toolset")
```
### AuthSources

View File

@@ -281,7 +281,7 @@ from Toolbox.
# Load the tools from the Toolbox server
client = ToolboxClient("http://127.0.0.1:5000")
tools = await aclient.load_toolset()
tools = await client.aload_toolset()
agent = create_react_agent(model, tools, checkpointer=MemorySaver())