Function calculate_safe_token_limit

Source
pub fn calculate_safe_token_limit(context_window: i32, utilization: f32) -> i32
Expand description

Calculate the safe token limit based on context window and utilization