From eef7a94977fcffbba920ce390816d092a20372a2 Mon Sep 17 00:00:00 2001 From: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:38:15 -0800 Subject: [PATCH 1/2] docs: close notice shortcode (#2404) fix notice shortcode closing brackets. --- docs/en/how-to/invoke_tool.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/how-to/invoke_tool.md b/docs/en/how-to/invoke_tool.md index c144be96c6..7448de13fa 100644 --- a/docs/en/how-to/invoke_tool.md +++ b/docs/en/how-to/invoke_tool.md @@ -13,12 +13,12 @@ The `invoke` command allows you to invoke tools defined in your configuration di {{< notice tip >}} **Keep configurations minimal:** The `invoke` command initializes *all* resources (sources, tools, etc.) defined in your configuration files during execution. To ensure fast response times, consider using a minimal configuration file containing only the tools you need for the specific invocation. -{{< notice tip >}} +{{< /notice >}} -## Prerequisites +## Before you begin -- You have the `toolbox` binary installed or built. -- You have a valid tool configuration file (e.g., `tools.yaml`). +1. Make sure you have the `toolbox` binary installed or built. +2. Make sure you have a valid tool configuration file (e.g., `tools.yaml`). ## Basic Usage From 3f1908a8225d22f29289441e768ea520b55ef347 Mon Sep 17 00:00:00 2001 From: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> Date: Tue, 3 Feb 2026 11:36:16 +0530 Subject: [PATCH 2/2] docs: fix JS quickstart (#2406) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Response is being re-assigned ## PR Checklist > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes # --- docs/en/getting-started/quickstart/js/genkit/quickstart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/getting-started/quickstart/js/genkit/quickstart.js b/docs/en/getting-started/quickstart/js/genkit/quickstart.js index 2ec16cb843..1c1f203539 100644 --- a/docs/en/getting-started/quickstart/js/genkit/quickstart.js +++ b/docs/en/getting-started/quickstart/js/genkit/quickstart.js @@ -53,7 +53,7 @@ export async function main() { for (const query of queries) { conversationHistory.push({ role: "user", content: [{ text: query }] }); - const response = await ai.generate({ + let response = await ai.generate({ messages: conversationHistory, tools: tools, });