Skip to main content

MAX_TOTAL_INSTRUCTION_BYTES

Constant MAX_TOTAL_INSTRUCTION_BYTES 

Source
pub const MAX_TOTAL_INSTRUCTION_BYTES: u64 = _; // 8_388_608u64
Expand description

Ceiling on the total content this resolver will return in one call.

The per-file cap and the file-count cap do not bound the payload between them: 200 files just under the per-file limit is roughly 2 GiB, assembled in memory before serialization (Codex, PR #3156). Past this budget a file is still listed with its hash and metadata; only its content is dropped.