Files
gemini-cli/packages
Bryan Morgan b98de3fc5a fix(core): process all URLs in web_fetch instead of only the first
The web_fetch tool accepts up to 20 URLs but only processed urls[0]
in both execute and fallback paths. Now iterates all URLs for
rate-limit checks and private IP validation in execute(), and fetches
all URLs in fallback mode via a new executeFallbackForUrl() helper.

Each URL receives a fair share of the content budget
(MAX_CONTENT_LENGTH / urls.length) rather than the full limit.
Abort signal is now propagated to retry logic in fallback mode.
2026-03-12 15:42:20 -04:00
..