mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-05 04:35:14 -05:00
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -311,11 +311,11 @@ tools loaded in that specific call, without modifying the original tool objects
|
||||
if they were loaded previously.
|
||||
|
||||
```javascript
|
||||
const authTool = await toolbox.loadTool("toolName", {"myAuth": getAuthToken})
|
||||
const authTool = await client.loadTool("toolName", {"myAuth": getAuthToken})
|
||||
|
||||
// OR
|
||||
|
||||
const authTools = await toolbox.loadToolset({"myAuth": getAuthToken})
|
||||
const authTools = await client.loadToolset({"myAuth": getAuthToken})
|
||||
```
|
||||
|
||||
{{< notice note>}}
|
||||
|
||||
Reference in New Issue
Block a user