pub struct EnhancedParameterValidator;Expand description
Enhanced parameter validator with cross-provider support
Implementations§
Source§impl EnhancedParameterValidator
impl EnhancedParameterValidator
Sourcepub fn validate_for_provider(
params: &CommonParams,
provider_type: &ProviderType,
) -> Result<ValidationReport, LlmError>
pub fn validate_for_provider( params: &CommonParams, provider_type: &ProviderType, ) -> Result<ValidationReport, LlmError>
Validates parameters for a specific provider with simplified logic for better performance
Sourcepub fn check_cross_provider_compatibility(
params: &CommonParams,
source_provider: &ProviderType,
target_provider: &ProviderType,
) -> CompatibilityReport
pub fn check_cross_provider_compatibility( params: &CommonParams, source_provider: &ProviderType, target_provider: &ProviderType, ) -> CompatibilityReport
Cross-provider parameter compatibility check
Sourcepub fn optimize_for_provider(
params: &mut CommonParams,
provider_type: &ProviderType,
) -> OptimizationReport
pub fn optimize_for_provider( params: &mut CommonParams, provider_type: &ProviderType, ) -> OptimizationReport
Optimize parameters for a specific provider
Auto Trait Implementations§
impl Freeze for EnhancedParameterValidator
impl RefUnwindSafe for EnhancedParameterValidator
impl Send for EnhancedParameterValidator
impl Sync for EnhancedParameterValidator
impl Unpin for EnhancedParameterValidator
impl UnsafeUnpin for EnhancedParameterValidator
impl UnwindSafe for EnhancedParameterValidator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more