pub fn validate_request_common(
request: &LLMRequest,
provider_name: &str,
validation_provider: &str,
supported_models: Option<&[String]>,
) -> Result<(), LLMError>Expand description
Validates an LLM request with common checks. Checks for empty messages and validates each message for the given provider.