Skip to main content

stasis/application/runtime/
chat_client_middleware.rs

1use std::sync::Arc;
2
3use crate::ports::outbound::ai_chat_client::AiChatClient;
4
5pub trait ChatClientMiddleware: Send + Sync {
6    fn wrap(&self, inner: Arc<dyn AiChatClient>) -> Arc<dyn AiChatClient>;
7}