stage: PR-2262: 9b9d886434

This commit is contained in:
shobsi
2026-01-09 03:46:14 +00:00
parent a9cdee9b78
commit c200685180
25 changed files with 96 additions and 95 deletions

View File

@@ -234,7 +234,7 @@
},
"outputs": [],
"source": [
"version = \"0.24.0\" # x-release-please-version\n",
"version = \"0.25.0\" # x-release-please-version\n",
"! curl -O https://storage.googleapis.com/genai-toolbox/v{version}/linux/amd64/toolbox\n",
"\n",
"# Make the binary executable\n",

File diff suppressed because one or more lines are too long

View File

@@ -401,7 +401,7 @@ session.)</p></li><li><p>Connect to your database with your new user:</p><div cl
</span>Tip</p><p>Select the
<a href=https://github.com/googleapis/genai-toolbox/releases>correct binary</a>
corresponding to your OS and CPU architecture.</p></div><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl><span class=nb>export</span> <span class=nv>OS</span><span class=o>=</span><span class=s2>&#34;linux/amd64&#34;</span> <span class=c1># one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64</span>
</span></span><span class=line><span class=cl>curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/<span class=nv>$OS</span>/toolbox
</span></span><span class=line><span class=cl>curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/<span class=nv>$OS</span>/toolbox
</span></span></code></pre></div></li><li><p>Make the binary executable:</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>chmod +x toolbox
</span></span></code></pre></div></li><li><p>Write the following into a <code>tools.yaml</code> file. Be sure to update any fields
such as <code>user</code>, <code>password</code>, or <code>database</code> that you may have customized in the

View File

@@ -399,7 +399,7 @@ session.)</p></li><li><p>Connect to your database with your new user:</p><div cl
</span>Tip</p><p>Select the
<a href=https://github.com/googleapis/genai-toolbox/releases>correct binary</a>
corresponding to your OS and CPU architecture.</p></div><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl><span class=nb>export</span> <span class=nv>OS</span><span class=o>=</span><span class=s2>&#34;linux/amd64&#34;</span> <span class=c1># one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64</span>
</span></span><span class=line><span class=cl>curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/<span class=nv>$OS</span>/toolbox
</span></span><span class=line><span class=cl>curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/<span class=nv>$OS</span>/toolbox
</span></span></code></pre></div></li><li><p>Make the binary executable:</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>chmod +x toolbox
</span></span></code></pre></div></li><li><p>Write the following into a <code>tools.yaml</code> file. Be sure to update any fields
such as <code>user</code>, <code>password</code>, or <code>database</code> that you may have customized in the

View File

@@ -399,7 +399,7 @@ session.)</p></li><li><p>Connect to your database with your new user:</p><div cl
</span>Tip</p><p>Select the
<a href=https://github.com/googleapis/genai-toolbox/releases>correct binary</a>
corresponding to your OS and CPU architecture.</p></div><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl><span class=nb>export</span> <span class=nv>OS</span><span class=o>=</span><span class=s2>&#34;linux/amd64&#34;</span> <span class=c1># one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64</span>
</span></span><span class=line><span class=cl>curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/<span class=nv>$OS</span>/toolbox
</span></span><span class=line><span class=cl>curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/<span class=nv>$OS</span>/toolbox
</span></span></code></pre></div></li><li><p>Make the binary executable:</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>chmod +x toolbox
</span></span></code></pre></div></li><li><p>Write the following into a <code>tools.yaml</code> file. Be sure to update any fields
such as <code>user</code>, <code>password</code>, or <code>database</code> that you may have customized in the

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -106,7 +106,7 @@ To install Toolbox as a binary on Linux (AMD64):
```sh
# see releases page for other versions
export VERSION=0.24.0
export VERSION=0.25.0
curl -L -o toolbox https://storage.googleapis.com/genai-toolbox/v$VERSION/linux/amd64/toolbox
chmod +x toolbox
```
@@ -117,7 +117,7 @@ To install Toolbox as a binary on macOS (Apple Silicon):
```sh
# see releases page for other versions
export VERSION=0.24.0
export VERSION=0.25.0
curl -L -o toolbox https://storage.googleapis.com/genai-toolbox/v$VERSION/darwin/arm64/toolbox
chmod +x toolbox
```
@@ -128,7 +128,7 @@ To install Toolbox as a binary on macOS (Intel):
```sh
# see releases page for other versions
export VERSION=0.24.0
export VERSION=0.25.0
curl -L -o toolbox https://storage.googleapis.com/genai-toolbox/v$VERSION/darwin/amd64/toolbox
chmod +x toolbox
```
@@ -139,7 +139,7 @@ To install Toolbox as a binary on Windows (Command Prompt):
```cmd
:: see releases page for other versions
set VERSION=0.24.0
set VERSION=0.25.0
curl -o toolbox.exe "https://storage.googleapis.com/genai-toolbox/v%VERSION%/windows/amd64/toolbox.exe"
```
@@ -149,7 +149,7 @@ To install Toolbox as a binary on Windows (PowerShell):
```powershell
# see releases page for other versions
$VERSION = "0.24.0"
$VERSION = "0.25.0"
curl.exe -o toolbox.exe "https://storage.googleapis.com/genai-toolbox/v$VERSION/windows/amd64/toolbox.exe"
```
@@ -161,7 +161,7 @@ You can also install Toolbox as a container:
```sh
# see releases page for other versions
export VERSION=0.24.0
export VERSION=0.25.0
docker pull us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:$VERSION
```
@@ -180,7 +180,7 @@ To install from source, ensure you have the latest version of
[Go installed](https://go.dev/doc/install), and then run the following command:
```sh
go install github.com/googleapis/genai-toolbox@v0.24.0
go install github.com/googleapis/genai-toolbox@v0.25.0
```
{{% /tab %}}
@@ -1508,7 +1508,7 @@ In this section, we will download Toolbox, configure our tools in a
<!-- {x-release-please-start-version} -->
```bash
export OS="linux/amd64" # one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/$OS/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/$OS/toolbox
```
<!-- {x-release-please-end} -->
@@ -2171,19 +2171,19 @@ After you install Looker in the MCP Store, resources and tools from the server a
{{< tabpane persist=header >}}
{{< tab header="linux/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/linux/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/linux/amd64/toolbox
{{< /tab >}}
{{< tab header="darwin/arm64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/arm64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/arm64/toolbox
{{< /tab >}}
{{< tab header="darwin/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/amd64/toolbox
{{< /tab >}}
{{< tab header="windows/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/windows/amd64/toolbox.exe
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/windows/amd64/toolbox.exe
{{< /tab >}}
{{< /tabpane >}}
<!-- {x-release-please-end} -->
@@ -2523,19 +2523,19 @@ expose your developer assistant tools to a MySQL instance:
<!-- {x-release-please-start-version} -->
{{< tabpane persist=header >}}
{{< tab header="linux/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/linux/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/linux/amd64/toolbox
{{< /tab >}}
{{< tab header="darwin/arm64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/arm64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/arm64/toolbox
{{< /tab >}}
{{< tab header="darwin/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/amd64/toolbox
{{< /tab >}}
{{< tab header="windows/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/windows/amd64/toolbox.exe
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/windows/amd64/toolbox.exe
{{< /tab >}}
{{< /tabpane >}}
<!-- {x-release-please-end} -->
@@ -2842,19 +2842,19 @@ expose your developer assistant tools to a Neo4j instance:
<!-- {x-release-please-start-version} -->
{{< tabpane persist=header >}}
{{< tab header="linux/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/linux/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/linux/amd64/toolbox
{{< /tab >}}
{{< tab header="darwin/arm64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/arm64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/arm64/toolbox
{{< /tab >}}
{{< tab header="darwin/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/amd64/toolbox
{{< /tab >}}
{{< tab header="windows/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/windows/amd64/toolbox.exe
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/windows/amd64/toolbox.exe
{{< /tab >}}
{{< /tabpane >}}
<!-- {x-release-please-end} -->
@@ -3168,19 +3168,19 @@ Omni](https://cloud.google.com/alloydb/omni/current/docs/overview).
<!-- {x-release-please-start-version} -->
{{< tabpane persist=header >}}
{{< tab header="linux/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/linux/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/linux/amd64/toolbox
{{< /tab >}}
{{< tab header="darwin/arm64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/arm64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/arm64/toolbox
{{< /tab >}}
{{< tab header="darwin/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/amd64/toolbox
{{< /tab >}}
{{< tab header="windows/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/windows/amd64/toolbox.exe
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/windows/amd64/toolbox.exe
{{< /tab >}}
{{< /tabpane >}}
<!-- {x-release-please-end} -->
@@ -3501,19 +3501,19 @@ instance:
<!-- {x-release-please-start-version} -->
{{< tabpane persist=header >}}
{{< tab header="linux/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/linux/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/linux/amd64/toolbox
{{< /tab >}}
{{< tab header="darwin/arm64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/arm64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/arm64/toolbox
{{< /tab >}}
{{< tab header="darwin/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/amd64/toolbox
{{< /tab >}}
{{< tab header="windows/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/windows/amd64/toolbox.exe
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/windows/amd64/toolbox.exe
{{< /tab >}}
{{< /tabpane >}}
<!-- {x-release-please-end} -->
@@ -3820,19 +3820,19 @@ to expose your developer assistant tools to a SQLite instance:
<!-- {x-release-please-start-version} -->
{{< tabpane persist=header >}}
{{< tab header="linux/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/linux/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/linux/amd64/toolbox
{{< /tab >}}
{{< tab header="darwin/arm64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/arm64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/arm64/toolbox
{{< /tab >}}
{{< tab header="darwin/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/darwin/amd64/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/darwin/amd64/toolbox
{{< /tab >}}
{{< tab header="windows/amd64" lang="bash" >}}
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/windows/amd64/toolbox.exe
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/windows/amd64/toolbox.exe
{{< /tab >}}
{{< /tabpane >}}
<!-- {x-release-please-end} -->
@@ -11481,7 +11481,7 @@ In this section, we will download and install the Toolbox binary.
<!-- {x-release-please-start-version} -->
```bash
export OS="linux/amd64" # one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64
export VERSION="0.24.0"
export VERSION="0.25.0"
curl -O https://storage.googleapis.com/genai-toolbox/v$VERSION/$OS/toolbox
```
<!-- {x-release-please-end} -->
@@ -11911,7 +11911,7 @@ to use BigQuery, and then run the Toolbox server.
<!-- {x-release-please-start-version} -->
```bash
export OS="linux/amd64" # one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/$OS/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/$OS/toolbox
```
<!-- {x-release-please-end} -->
@@ -12545,7 +12545,7 @@ In this section, we will download Toolbox, configure our tools in a
<!-- {x-release-please-start-version} -->
```bash
export OS="linux/amd64" # one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/$OS/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/$OS/toolbox
```
<!-- {x-release-please-end} -->
@@ -12739,7 +12739,7 @@ In this section, we will download Toolbox and run the Toolbox server.
<!-- {x-release-please-start-version} -->
```bash
export OS="linux/amd64" # one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/$OS/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/$OS/toolbox
```
<!-- {x-release-please-end} -->
@@ -12864,7 +12864,7 @@ In this section, we will download Toolbox and run the Toolbox server.
<!-- {x-release-please-start-version} -->
```bash
export OS="linux/amd64" # one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/$OS/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/$OS/toolbox
```
<!-- {x-release-please-end} -->
@@ -12974,7 +12974,7 @@ In this section, we will download Toolbox and run the Toolbox server.
<!-- {x-release-please-start-version} -->
```bash
export OS="linux/amd64" # one of linux/amd64, darwin/arm64, darwin/amd64, or windows/amd64
curl -O https://storage.googleapis.com/genai-toolbox/v0.24.0/$OS/toolbox
curl -O https://storage.googleapis.com/genai-toolbox/v0.25.0/$OS/toolbox
```
<!-- {x-release-please-end} -->

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,5 @@
<a class="dropdown-item" href="https://googleapis.github.io/genai-toolbox/dev/">Dev</a>
<a class="dropdown-item" href="https://googleapis.github.io/genai-toolbox/v0.25.0/">v0.25.0</a>
<a class="dropdown-item" href="https://googleapis.github.io/genai-toolbox/v0.24.0/">v0.24.0</a>
<a class="dropdown-item" href="https://googleapis.github.io/genai-toolbox/v0.23.0/">v0.23.0</a>
<a class="dropdown-item" href="https://googleapis.github.io/genai-toolbox/v0.22.0/">v0.22.0</a>

View File

@@ -771,7 +771,7 @@
},
"outputs": [],
"source": [
"version = \"0.24.0\" # x-release-please-version\n",
"version = \"0.25.0\" # x-release-please-version\n",
"! curl -L -o /content/toolbox https://storage.googleapis.com/genai-toolbox/v{version}/linux/amd64/toolbox\n",
"\n",
"# Make the binary executable\n",

View File

@@ -809,7 +809,7 @@ the tables and update any that needs revision.</li><li><strong>Construct the val
</span></span><span class=line><span class=cl>
</span></span><span class=line><span class=cl><span class=c1># pool = await init_connection_pool(connector, database_name)</span>
</span></span><span class=line><span class=cl><span class=k>await</span> <span class=n>run_queries</span><span class=p>(</span><span class=n>pool</span><span class=p>)</span>
</span></span><span class=line><span class=cl><span class=k>await</span> <span class=n>pool</span><span class=o>.</span><span class=n>dispose</span><span class=p>()</span></span></span></code></pre></div></div><div class=notebook-markdown><h2 id=step-2-set-up-toolbox>Step 2: Set up Toolbox</h2><p>Here, we will set up the Toolbox server to interact with our AlloyDB Database.</p></div><div class=notebook-markdown>Download the <a href=https://github.com/googleapis/genai-toolbox/releases>latest</a> version of Toolbox as a binary.</div><div class=notebook-code><div class=highlight><pre tabindex=0 class=chroma><code class=language-python data-lang=python><span class=line><span class=cl><span class=n>version</span> <span class=o>=</span> <span class=s2>&#34;0.24.0&#34;</span> <span class=c1># x-release-please-version</span>
</span></span><span class=line><span class=cl><span class=k>await</span> <span class=n>pool</span><span class=o>.</span><span class=n>dispose</span><span class=p>()</span></span></span></code></pre></div></div><div class=notebook-markdown><h2 id=step-2-set-up-toolbox>Step 2: Set up Toolbox</h2><p>Here, we will set up the Toolbox server to interact with our AlloyDB Database.</p></div><div class=notebook-markdown>Download the <a href=https://github.com/googleapis/genai-toolbox/releases>latest</a> version of Toolbox as a binary.</div><div class=notebook-code><div class=highlight><pre tabindex=0 class=chroma><code class=language-python data-lang=python><span class=line><span class=cl><span class=n>version</span> <span class=o>=</span> <span class=s2>&#34;0.25.0&#34;</span> <span class=c1># x-release-please-version</span>
</span></span><span class=line><span class=cl><span class=err>!</span> <span class=n>curl</span> <span class=o>-</span><span class=n>L</span> <span class=o>-</span><span class=n>o</span> <span class=o>/</span><span class=n>content</span><span class=o>/</span><span class=n>toolbox</span> <span class=n>https</span><span class=p>:</span><span class=o>//</span><span class=n>storage</span><span class=o>.</span><span class=n>googleapis</span><span class=o>.</span><span class=n>com</span><span class=o>/</span><span class=n>genai</span><span class=o>-</span><span class=n>toolbox</span><span class=o>/</span><span class=n>v</span><span class=p>{</span><span class=n>version</span><span class=p>}</span><span class=o>/</span><span class=n>linux</span><span class=o>/</span><span class=n>amd64</span><span class=o>/</span><span class=n>toolbox</span>
</span></span><span class=line><span class=cl>
</span></span><span class=line><span class=cl><span class=c1># Make the binary executable</span>

File diff suppressed because one or more lines are too long

View File

@@ -220,7 +220,7 @@
},
"outputs": [],
"source": [
"version = \"0.24.0\" # x-release-please-version\n",
"version = \"0.25.0\" # x-release-please-version\n",
"! curl -O https://storage.googleapis.com/genai-toolbox/v{version}/linux/amd64/toolbox\n",
"\n",
"# Make the binary executable\n",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long