pub struct StasisRuntimeBuilder { /* private fields */ }Implementations§
Source§impl StasisRuntimeBuilder
impl StasisRuntimeBuilder
pub fn new(backend: RuntimeBackend) -> Self
pub fn with_chat_client(self, value: Arc<dyn AiChatClient>) -> Self
pub fn with_chat_middleware<M: ChatClientMiddleware + 'static>( self, middleware: M, ) -> Self
pub fn with_chat_middleware_arc( self, middleware: Arc<dyn ChatClientMiddleware>, ) -> Self
pub fn with_logging_chat_middleware(self) -> Self
pub fn with_telemetry_chat_middleware( self, metrics: Arc<dyn RuntimeMetrics>, ) -> Self
pub fn with_cache_chat_middleware( self, cache: Arc<dyn AiChatResponseCache>, ) -> Self
pub fn with_tool_call_interception_chat_middleware( self, interceptor: Arc<dyn AiChatToolInterceptor>, ) -> Self
pub fn with_memory_context_reader( self, value: Arc<dyn MemoryContextReader>, ) -> Self
pub fn with_memory_context_writer( self, value: Arc<dyn MemoryContextWriter>, ) -> Self
pub fn with_locus_memory(self) -> Self
pub fn with_identity_memory_store( self, value: Arc<dyn IdentityMemoryStore>, ) -> Self
pub fn with_memory_operations(self, value: Arc<dyn MemoryOperations>) -> Self
pub fn with_thread_store(self, value: Arc<dyn ThreadStore>) -> Self
pub fn with_cluster_node_store(self, value: Arc<dyn ClusterNodeStore>) -> Self
pub fn with_delivery_endpoint_store( self, value: Arc<dyn DeliveryEndpointStore>, ) -> Self
pub fn with_endpoint_delivery_status_store( self, value: Arc<dyn EndpointDeliveryStatusStore>, ) -> Self
pub fn with_endpoint_transport_publisher<P: EndpointTransportPublisher + 'static>( self, transport: P, ) -> Self
pub fn with_endpoint_transport_publisher_arc( self, transport: Arc<dyn EndpointTransportPublisher>, ) -> Self
pub fn with_endpoint_routing_delivery(self) -> Self
pub fn with_endpoint_routing_policy<P: EndpointRoutingPolicy + 'static>( self, policy: P, ) -> Self
pub fn with_endpoint_routing_policy_arc( self, value: Arc<dyn EndpointRoutingPolicy>, ) -> Self
pub fn with_tool<T: StasisTool + 'static>(self, tool: T) -> Result<Self>
pub fn with_extra_handler<H: JobHandler + 'static>(self, handler: H) -> Self
pub fn without_grapheme_handlers(self) -> Self
pub fn without_prompt_handler(self) -> Self
pub fn without_tool_loop_handler(self) -> Self
pub fn without_agent_handlers(self) -> Self
pub fn without_memory_operation_handlers(self) -> Self
pub fn without_orchestration_pattern_handlers(self) -> Self
pub fn without_cluster_control_handlers(self) -> Self
pub async fn build(self) -> Result<RuntimeComposition>
Sourcepub async fn build_stasis_runtime(self) -> Result<StasisRuntime>
pub async fn build_stasis_runtime(self) -> Result<StasisRuntime>
Builds and returns the primary runtime facade.
Trait Implementations§
Source§impl Clone for StasisRuntimeBuilder
impl Clone for StasisRuntimeBuilder
Source§fn clone(&self) -> StasisRuntimeBuilder
fn clone(&self) -> StasisRuntimeBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StasisRuntimeBuilder
impl !RefUnwindSafe for StasisRuntimeBuilder
impl Send for StasisRuntimeBuilder
impl Sync for StasisRuntimeBuilder
impl Unpin for StasisRuntimeBuilder
impl UnsafeUnpin for StasisRuntimeBuilder
impl !UnwindSafe for StasisRuntimeBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request