Variable: DEFAULT_RESERVE_FRACTION
ts
const DEFAULT_RESERVE_FRACTION: 0.35 = 0.35;Defined in: src/batteries/context/thrift/subtractive_pass.ts:87
Fallback output reserve, as a fraction of the window, used ONLY when the exact max-output budget is unknown.
Remarks
Prefer passing the caller's actual generation maxTokens as outputReserve — reserving a flat fraction of the window when the model can emit at most, say, 2048 tokens throws away real input budget (RAG chunks, history) for output that can never be produced. This fraction is the calibrated value from the flagship reference agent (0.35 of the window), kept as the default for a caller who genuinely doesn't know their generation cap yet.