pub trait ModelProvider {
// Required methods
fn invoke(
&self,
message: &str,
model: &str,
callback: &mut dyn FnMut(&str) -> Result<()>,
) -> Result<String>;
fn name(&self) -> &'static str;
}Expand description
Trait for model providers