Result limits and spill files

DataMind Oda keeps each step's result within a size a chat can carry; when more arrives than fits, it shows the part that stays, counts what it left out in a short note, and for the largest results stores the full text in a file on your computer. This page explains those notes, what each kind of result keeps, and where the rest goes.

Why a result gets shortened

What each kind of result keeps

The part that stays depends on the kind of result:

Kind of resultThe shortened form keeps
A file search or a text searchThe first results it found
A web searchThe first sources it found
A fetched pageThe start of the page; a very large page keeps its start and its end
A command's outputThe end of the output; a very large output keeps its start and its end

Where the full result goes

Questions, answered

Why does Oda cut long results instead of showing everything?

A chat carries a limited amount of text, so Oda keeps each step's result within a size it can carry. The part that did not fit is counted in a note, and where the full text can be kept, Oda stores it in a file and names it in the note. Nothing is silently lost, and a shortened result is not a failed one.

What does a note without a number mean?

The result was reduced to fit, but the exact size of the missing part is not known, so the note reads More lines were omitted. and carries no number. When nothing was left out, no note appears at all.

Why is only the end of my command's output shown?

That is how command results are kept: the end of the output stays, and a very large output keeps its start and its end as well. What was left out is counted in the note, and when the full output was saved, its note names the file. Shell commands lists the notes a command result carries.

Where does the rest of a long page go?

A fetched page keeps the start of the page in the chat; a very large one keeps its start and its end. The rest is not lost: Oda writes the full result, as it was formatted, to a file on your computer, and the note names it. Ask Oda to read that file, or to search inside it, when you need the rest.

Can a cut split a character in half?

No. Cuts fall between characters, so a shortened result never ends on half a symbol, and what you read is always made of whole characters.

Where does a search save its full list?

When a search finds more than its result keeps, the complete list is saved to a file: glob-results.txt for a file search and grep-results.txt for a text search, and the result's note names it. Finding files and text covers the counts each search keeps and its notes.

Why does a note tell me to narrow the pattern or path?

Some notes join the count with the step's own advice on seeing more. A capped file search, for example, suggests narrowing the pattern, path or file filter so a smaller, complete result can come back. The advice comes in the step's words, right after the count.

Is a long file read shortened like other results?

No. A read is not cut and stored: a long file comes back in parts, and each part says where to continue from. Read, write and edit files covers the read windows and the note that ends each part.