pub fn parse_model_arg(
arg: &str,
harness: &str,
model_config: &ModelConfig,
) -> Option<(Tier, String)>Expand description
Parse a /model <arg> argument: either a tier name (low|med|high) or a concrete
model name (opus|sonnet|...).
Returns the resolved Tier and the concrete model name. Tier names resolve
through config/built-ins, and harness-owned aliases such as Claude Code
opus resolve to their current concrete model id.