pub trait AIBackend: Send + Sync { // Required method fn generate(&self, prompt: &str) -> AIResult; }
Trait every backend must implement.