pub trait Provider {
// Required methods
fn name(&self) -> &'static str;
fn available_models(&self) -> Vec<&'static str>;
fn is_configured(&self) -> bool;
}
Expand description
Trait for common provider operations
Required Methods§
Sourcefn available_models(&self) -> Vec<&'static str>
fn available_models(&self) -> Vec<&'static str>
Available models for this provider
Sourcefn is_configured(&self) -> bool
fn is_configured(&self) -> bool
Check if the provider is configured properly