pub fn choose_by_difficulty(
est_input_tokens: u32,
r: &RoutingConfig,
) -> Option<String>Expand description
Opt-in difficulty heuristic: pick frontier when the estimated input token
count exceeds the threshold, else cheap. None when misconfigured (caller
falls through to model_ref/global default).