pub fn validate_inference_profiles(
profiles: &[InferenceProfile],
) -> Result<(), String>Expand description
Validate a set of inference profiles.
Checks each profile’s name against crate::domain::validate_name, rejects
duplicate names (they would make {model}:{profile} ambiguous), and reuses
validate_inference_config for the numeric ranges so profile parameters
and global defaults can never drift apart on what counts as valid.
§Errors
Returns a human-readable description of the first problem found.