Skip to main content

CONTEXT_LINES

Constant CONTEXT_LINES 

Source
pub const CONTEXT_LINES: u32 = 20;
Expand description

How many lines of unchanged context to request around each change.

Generous on purpose. The model has no parser and no whole-file view, so this is the only thing giving it the surrounding function body to judge a change against. git merges hunks whose context windows overlap, so a large value cannot produce duplicate coverage of the same lines.