Skip to main content

ai_agents_context/
provider.rs

1use async_trait::async_trait;
2use serde_json::Value;
3
4use ai_agents_core::Result;
5
6#[async_trait]
7pub trait ContextProvider: Send + Sync {
8    async fn get(&self, key: &str, current_context: &Value) -> Result<Value>;
9}