From 78cd88fc7c75bb5a1f5a4ab7fdb428c5e0f4a6fb Mon Sep 17 00:00:00 2001 From: Bryan Morgan Date: Sun, 22 Feb 2026 15:03:16 -0500 Subject: [PATCH] Update packages/core/src/tools/web-fetch.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- packages/core/src/tools/web-fetch.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/tools/web-fetch.ts b/packages/core/src/tools/web-fetch.ts index 216c991d9e..0135a5b977 100644 --- a/packages/core/src/tools/web-fetch.ts +++ b/packages/core/src/tools/web-fetch.ts @@ -170,7 +170,7 @@ class WebFetchToolInvocation extends BaseToolInvocation< const response = await retryWithBackoff( async () => { - const res = await fetchWithTimeout(fetchUrl, URL_FETCH_TIMEOUT_MS); + const res = await fetchWithTimeout(fetchUrl, URL_FETCH_TIMEOUT_MS, signal); if (!res.ok) { const error = new Error( `Request failed with status code ${res.status} ${res.statusText}`, @@ -182,6 +182,7 @@ class WebFetchToolInvocation extends BaseToolInvocation< }, { retryFetchErrors: this.config.getRetryFetchErrors(), + signal, }, );