-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.New issue. Needs quick review to confirm validity and assign labels.bugSomething isn't workingSomething isn't working
Description
Problem (one or two sentences)
When introducing a context size limit to read_file, even very strong open models fail to read files correctly, instead often falling into a loop of calling read_file again and again.
Context (who is affected and when)
When there is a large file and there's a need to read it incrementally, models will often fail to properly use line ranges.
Reproduction steps
- Create a task that requires understanding a large file
- Set max size of file read to eg. 500 lines
- Run the task
Expected result
The model reads the file with line ranges incrementally
Actual result
The model re-reads the start of the file again and again
Variations tried (optional)
No response
App Version
3.36.16
API Provider (optional)
Not Applicable / Other
Model Used (optional)
GLM 4.6, Minimax M2, Kimi K2-Instruct
Roo Code Task Links (optional)
https://app.roocode.com/share/3bd34071-609f-48fb-87bc-f9a2a353c5c6
Relevant logs or errors (optional)
Metadata
Metadata
Assignees
Labels
Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.New issue. Needs quick review to confirm validity and assign labels.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Triage