pub struct AgentHarnessBuilder { /* private fields */ }Implementations§
Source§impl AgentHarnessBuilder
impl AgentHarnessBuilder
pub fn new(provider: Arc<dyn ModelProvider>) -> Self
pub fn memory(self, memory: Arc<dyn MemoryBackend>) -> Self
pub fn tool_runtime(self, tool_runtime: Arc<dyn ToolRuntime>) -> Self
pub fn chat_policy(self, chat_policy: ChatPolicy) -> Self
pub fn health_checker(self, health_checker: Arc<dyn HealthChecker>) -> Self
pub fn validator(self, validator: Arc<dyn OutcomeValidator>) -> Self
pub fn feature_selector( self, feature_selector: Arc<dyn FeatureSelector>, ) -> Self
pub fn run_policy(self, run_policy: RunPolicy) -> Self
pub fn schema_version(self, schema_version: u32) -> Self
pub fn harness_version(self, harness_version: impl Into<String>) -> Self
pub fn build(self) -> Result<AgentRuntime, HarnessError>
Auto Trait Implementations§
impl Freeze for AgentHarnessBuilder
impl !RefUnwindSafe for AgentHarnessBuilder
impl Send for AgentHarnessBuilder
impl Sync for AgentHarnessBuilder
impl Unpin for AgentHarnessBuilder
impl UnsafeUnpin for AgentHarnessBuilder
impl !UnwindSafe for AgentHarnessBuilder
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