Prevent roo from reading large files #1434
QuinRiva
started this conversation in
Feature Requests
Replies: 2 comments
-
Could it delegate to a new subtask to read the thing, extract relevant info, then pass the summary/extracted data back? With the new parent/child feature, maybe this is straightforward? If over X then read using model-y, and extract z. Maybe an MCP tool? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Given the appropriate prompting it has been pretty successful at taking the appropriate actions. But yes I think a more robust approach is probably in order. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Auto-approve read works well in most instances, but in some instance it will encounter a very large file. As soon as roo attempts to read the file, the whole task needs to be discarded as it will flood the context window irrevocably.
Instead, roo should check the file size of non-code files (e.g. csv, json, etc.) before attempting to read them. Particularly in the case of csv and json - it can get all the info it needs by reading a sample.
Beta Was this translation helpful? Give feedback.
All reactions