1 2 3 4 5 6 7 8
use async_trait::async_trait; use crate::error::GenResult; #[async_trait] pub trait LlmClient: Send + Sync { async fn complete(&self, system: &str, user: &str) -> GenResult<String>; }