pub struct AgentHarnessBuilder { /* private fields */ }Implementations§
Source§impl AgentHarnessBuilder
impl AgentHarnessBuilder
Sourcepub fn container(self, container: Container) -> Self
pub fn container(self, container: Container) -> Self
The container the agent’s tools resolve from. Register their dependencies there before building.
pub fn adapter(self, adapter: Arc<MockChatAdapter>) -> Self
pub fn build(self) -> AgentHarness
Auto Trait Implementations§
impl !RefUnwindSafe for AgentHarnessBuilder
impl !UnwindSafe for AgentHarnessBuilder
impl Freeze for AgentHarnessBuilder
impl Send for AgentHarnessBuilder
impl Sync for AgentHarnessBuilder
impl Unpin for AgentHarnessBuilder
impl UnsafeUnpin 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