pub fn ensure_model(request: &mut LLMRequest, default_model: &str) -> StringExpand description
Ensures the request has a non-empty model, falling back to the provider’s default. Mutates the request in place and returns the resolved model string.
pub fn ensure_model(request: &mut LLMRequest, default_model: &str) -> StringEnsures the request has a non-empty model, falling back to the provider’s default. Mutates the request in place and returns the resolved model string.