use objectiveai_sdk::error::ResponseError;
pub trait PersistentCacheClient: Send + Sync + std::fmt::Debug + 'static {
fn get(&self, namespace: &'static str, key: &str) -> impl std::future::Future<Output = Result<Option<String>, ResponseError>> + Send;
fn set(&self, namespace: &'static str, key: &str, value: &str, permanent: bool) -> impl std::future::Future<Output = Result<(), ResponseError>> + Send;
}