Update packages/core/src/tools/web-fetch.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Bryan Morgan
2026-02-22 15:03:59 -05:00
parent 8d88fde964
commit 2594201bee

View File

@@ -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 };
}