Function would_exceed_limit

Source
pub fn would_exceed_limit(
    current_tokens: usize,
    file_tokens: usize,
    max_tokens: usize,
) -> bool
Expand description

Check if adding a file would exceed token limit