From 2594201bee6f14ed176e6ef0432754641f8021f2 Mon Sep 17 00:00:00 2001 From: Bryan Morgan Date: Sun, 22 Feb 2026 15:03:59 -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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/tools/web-fetch.ts b/packages/core/src/tools/web-fetch.ts index 07a5110a1b..045995315e 100644 --- a/packages/core/src/tools/web-fetch.ts +++ b/packages/core/src/tools/web-fetch.ts @@ -206,7 +206,7 @@ class WebFetchToolInvocation extends BaseToolInvocation< } // Per-URL content budget is the total budget divided by number of URLs - textContent = textContent.substring(0, MAX_CONTENT_LENGTH); + textContent = textContent.substring(0, perUrlBudget); return { content: textContent }; }