pub fn validate_provider_config( config: &Config, provider_name: &str, ) -> Result<()>
Validates the provider configuration