Trait FamilyProviderFactory
pub trait FamilyProviderFactory {
// Required method
fn create_provider(
&self,
alias: &str,
key: Option<&str>,
api_url: Option<&str>,
opts: &ModelProviderRuntimeOptions,
) -> Result<Box<dyn ModelProvider>>;
// Provided method
fn fallback_auth_ready(
&self,
key: Option<&str>,
_opts: &ModelProviderRuntimeOptions,
) -> bool { ... }
}