stasis-rs 0.3.0

Durable AI orchestration framework with runtime jobs, lineage, and memory integration
Documentation
1
2
3
4
5
6
7
8
9
use async_trait::async_trait;

use crate::domain::errors::Result;
use crate::ports::outbound::memory::memory_models::{MemoryStoreRequest, MemoryStoreResponse};

#[async_trait]
pub trait MemoryContextWriter: Send + Sync {
    async fn store_context(&self, request: &MemoryStoreRequest) -> Result<MemoryStoreResponse>;
}