Skip to main content

MAX_REASON

Constant MAX_REASON 

Source
pub const MAX_REASON: usize = 4_000;
Expand description

How much of a compiler’s output reaches the failure reason.

The reason is read by a model on the next repair attempt, so it competes for the same context window everything else does. Enough for the first several errors, and no more.