File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,16 @@ involving Large Language Models (LLMs).
51
51
pip install toolbox-core
52
52
```
53
53
54
+ > [ !NOTE]
55
+ > * The primary ` ToolboxClient ` is asynchronous and requires using ` await ` for
56
+ > loading and invoking tools, as shown in most examples.
57
+ > * Asynchronous code needs to run within an event loop (e.g., using
58
+ > ` asyncio.run() ` or in an async framework). See the [ Python ` asyncio `
59
+ > documentation] ( https://docs.python.org/3/library/asyncio-task.html ) for more
60
+ > details.
61
+ > * If you prefer synchronous execution, refer to the [ Synchronous
62
+ > Usage] ( #synchronous-usage ) section below.
63
+
54
64
## Quickstart
55
65
56
66
Here's a minimal example to get you started. Ensure your Toolbox service is
@@ -84,16 +94,6 @@ toolbox = ToolboxClient("http://127.0.0.1:5000")
84
94
85
95
All interactions for loading and invoking tools happen through this client.
86
96
87
- > [ !NOTE]
88
- > * The primary ` ToolboxClient ` is asynchronous and requires using ` await ` for
89
- > loading and invoking tools, as shown in most examples.
90
- > * Asynchronous code needs to run within an event loop (e.g., using
91
- > ` asyncio.run() ` or in an async framework). See the [ Python ` asyncio `
92
- > documentation] ( https://docs.python.org/3/library/asyncio-task.html ) for more
93
- > details.
94
- > * If you prefer synchronous execution, refer to the [ Synchronous
95
- > Usage] ( #synchronous-usage ) section below.
96
-
97
97
## Loading Tools
98
98
99
99
You can load tools individually or in groups (toolsets) as defined in your
You can’t perform that action at this time.
0 commit comments