Skip to main content

MAX_PATCH_BYTES

Constant MAX_PATCH_BYTES 

Source
pub const MAX_PATCH_BYTES: usize = 400_000;
Expand description

Patches above this size are truncated in the prompt; the judge is pointed at the branch instead. Agent context windows are large but not free, and a 10 MB vendored-dependency diff is not read by anyone anyway.