You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
file_read can't read past the cut of a saved long result, and reading a download should mark the chat as outside content #336
Range reads. A long tool result is cut, and the rest is saved under files/outputs/ with a note telling the model to read it. But file_read of that file is cut at the same length, so anything past the limit can never be read (Sonnet followed two nested saved copies). Give file_read an offset and limit (characters or lines) and say in the cut note how to read the next part.
Downloads count as outside content. Reading a file under files/downloads/ (and files/outputs/) in a chat that hasn't read outside content yet should set the chat's outside-content mark (ADR 0018), just as the web or email tool that produced it would have. Then later sends ask first.
Done when: a model can read a long saved result to its end in parts, and reading a download in a fresh chat makes a later send ask, both checked in a real run.
Activity
fix(engine): read long files in parts, say where to read on after a c…