Skip to main content

MAX_READ_BYTES

@forge/monorepo


@forge/monorepo / backend/src / MAX_READ_BYTES

Variable: MAX_READ_BYTES

const MAX_READ_BYTES: number

Defined in: backend/src/files/read-tool.ts:33

The most one call returns.

32 KiB is roughly 8k tokens — a large but survivable share of a context window, and small enough that a model paging a long document has to decide it is worth the budget rather than getting there by accident.