From e75f0722e7cc780659951baee058095ed2916a9e Mon Sep 17 00:00:00 2001 From: Allen Hutchison Date: Fri, 18 Apr 2025 17:12:14 -0700 Subject: 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. --- packages/cli/src/tools/web-fetch.tool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/cli/src/tools') diff --git a/packages/cli/src/tools/web-fetch.tool.ts b/packages/cli/src/tools/web-fetch.tool.ts index 8db7aad3..362ca45e 100644 --- a/packages/cli/src/tools/web-fetch.tool.ts +++ b/packages/cli/src/tools/web-fetch.tool.ts @@ -138,7 +138,7 @@ export class WebFetchTool extends BaseTool { 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 -- cgit v1.2.3