Skip to main content

split_model_ref

Function split_model_ref 

Source
pub fn split_model_ref(m: Option<&str>) -> (String, String)
Expand description

provider/name → (provider, name). A bare name is attributed to provider cli; None → ("cli", "unknown"). The model ref feeds the content- addressed IntentId, so the default must be stable, not empty.