mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-15 04:20:57 -07:00
All the pipes (#47)
* Bump the character limit to web fetch. * Piped Input Hook. First step in bringing in STDIN piping. * Fix linting errors. * Remove incorrect comment.
This commit is contained in:
@@ -138,7 +138,7 @@ export class WebFetchTool extends BaseTool<WebFetchToolParams, ToolResult> {
|
||||
const data = await response.text();
|
||||
let llmContent = '';
|
||||
// Truncate very large responses for the LLM context
|
||||
const MAX_LLM_CONTENT_LENGTH = 100000;
|
||||
const MAX_LLM_CONTENT_LENGTH = 200000;
|
||||
if (data) {
|
||||
llmContent = `Fetched data from ${url}:\n\n${
|
||||
data.length > MAX_LLM_CONTENT_LENGTH
|
||||
|
||||
Reference in New Issue
Block a user