fix(core): revert increased fetch timeout and content length limits

This commit is contained in:
Aishanee Shah
2026-03-09 18:50:41 +00:00
parent e0005b7dca
commit fd79080efa

View File

@@ -34,8 +34,8 @@ import { WEB_FETCH_DEFINITION } from './definitions/coreTools.js';
import { resolveToolDeclaration } from './definitions/resolver.js';
import { LRUCache } from 'mnemonist';
const URL_FETCH_TIMEOUT_MS = 30000;
const MAX_CONTENT_LENGTH = 200000;
const URL_FETCH_TIMEOUT_MS = 10000;
const MAX_CONTENT_LENGTH = 100000;
const MAX_EXPERIMENTAL_FETCH_SIZE = 10 * 1024 * 1024; // 10MB
const USER_AGENT =
'Mozilla/5.0 (compatible; Google-Gemini-CLI/1.0; +https://github.com/google-gemini/gemini-cli)';