Skip to main content

effort_shape

Function effort_shape 

Source
pub fn effort_shape(model: &str) -> EffortShape
Expand description

Which reasoning control model accepts.

Keyed on the model id with any vendor/ prefix stripped, never on the registry’s provider: field — that records the wire protocol, so DeepSeek, Qwen and every other OpenAI-compatible third party all read openai.

Capability is version-scoped, not family-scoped: grok-4.3, 4.5 and 4.6 each accept a different set, exactly as the Claude 4-5 / 4-6 / 4-7 / 5 lines do. Named const lists per tier, so a new model is one edit in one place.

Vendor levels below Low (none, minimal) are deliberately dropped: MUR’s scale starts at Low, and a level MUR cannot name is a level MUR does not offer. Nothing is mis-sent.