-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
The problem is that when executing a tool, it is often unknown whether the agent will be able to handle the output of the tool within its context window. Here are examples:
- Running a test suite with 1000s of tests and many debug error messages
- Using an MCP which reads web pages
I’ve seen in cursor that it is able to use grep and other tools against a file of sorts to deconstruct and study the output without going off track when a tool responds with large context.
Perhaps we can have detection of such a case and automatically add to the context: “tool output of {x} lines was written to {file}.txt” and allow the agent to decide what it wants to do with that.
Metadata
Metadata
Assignees
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion