Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/en/getting-started/local_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down
Loading