Skip to main content

summary_output_tokens

Function summary_output_tokens 

pub fn summary_output_tokens(cap: u32) -> u32
Expand description

The output tokens a summary asks for, given the cap the run’s own calls ask (ADR 0064 decision 3): a run capped below 4,096 gets a summary capped the same way, and one that leaves the cap to the model (0) keeps the summary’s own 4,096, because a summary is bounded by the loop.