Skip to main content

clamp_thinking_level

Function clamp_thinking_level 

Source
pub fn clamp_thinking_level(model_id: &str, requested_level: &str) -> String
Expand description

Clamp a requested thinking level to what the model supports

If the model doesn’t support the requested level, returns the closest supported level.