Skip to main content

get_thinking_level_map

Function get_thinking_level_map 

Source
pub fn get_thinking_level_map(model_id: &str) -> Option<HashMap<String, String>>
Expand description

Get the thinking level mapping for a model that has thinking variants

For models like claude-3-5-sonnet-*, returns a mapping:

  • “high” -> “claude-3-5-sonnet-20240620”
  • “medium” -> “claude-3-5-sonnet-latest”