pub trait LLMProvider: Send + Sync {
// Required methods
fn generate<'life0, 'async_trait>(
&'life0 self,
request: GenerationRequest,
) -> Pin<Box<dyn Future<Output = Result<GenerationResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn estimate_cost(&self, input_tokens: u32, output_tokens: u32) -> f64;
fn name(&self) -> &str;
fn model(&self) -> &str;
}