Skip to content

Commit 65f7696

Browse files
committed
docs(search): say where the scaled read budget stops bounding a call's size
1 parent e488d9a commit 65f7696

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎apps/sim/lib/sim-search/live/application.ts‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,11 @@ const READ_WINDOW_CHARACTERS = 8000
292292
/** The read limit {@link READ_WINDOW_CHARACTERS} is sized for, which is the default limit. */
293293
const READ_WINDOW_LIMIT = 3
294294
/**
295-
* Characters the documents of one scaled read call share. It keeps the call's result, with about
296-
* a thousand characters of metadata per document, under the 50,000-character size at which MCP
297-
* clients such as Claude Code save a tool result to a file rather than show it.
295+
* Characters the documents of one scaled read call share. Through four documents it keeps the
296+
* call's result, with about a thousand characters of metadata per document, under the
297+
* 50,000-character size at which MCP clients such as Claude Code save a tool result to a file
298+
* rather than show it. From five documents the standard page per document is the larger, so
299+
* those calls read exactly what they read without scaling.
298300
*/
299301
const SCALED_READ_CALL_CHARACTERS = 40_000
300302

0 commit comments

Comments
 (0)