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:
Allen Hutchison
2025-04-18 17:12:14 -07:00
committed by GitHub
parent 14334c2eb3
commit d276fee80c
2 changed files with 79 additions and 1 deletions
+1 -1
View File
@@ -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