Skip to main content

should_use_delta

Function should_use_delta 

Source
pub fn should_use_delta(delta: &ModeDelta, full_output_tokens: usize) -> bool
Expand description

Decide whether to send delta or full output based on savings threshold. Returns true if delta is more efficient.