summaryrefslogtreecommitdiff
path: root/packages/cli/src/tools/web-fetch.tool.ts
diff options
context:
space:
mode:
authorAllen Hutchison <[email protected]>2025-04-18 17:12:14 -0700
committerGitHub <[email protected]>2025-04-18 17:12:14 -0700
commite75f0722e7cc780659951baee058095ed2916a9e (patch)
tree82b2bf20eafe755783da0181cee27a9630f53d65 /packages/cli/src/tools/web-fetch.tool.ts
parent3adc0dfbaf19745400835d4a14a2d4032e30ea40 (diff)
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.
Diffstat (limited to 'packages/cli/src/tools/web-fetch.tool.ts')
-rw-r--r--packages/cli/src/tools/web-fetch.tool.ts2
1 files changed, 1 insertions, 1 deletions
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<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