mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -07:00
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:
@@ -206,7 +206,7 @@ class WebFetchToolInvocation extends BaseToolInvocation<
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Per-URL content budget is the total budget divided by number of URLs
|
// 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 };
|
return { content: textContent };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user