pub struct GenericAgentBuilder { /* private fields */ }Expand description
Fluent builder for GenericAgent. The skill chain and tool whitelist
are resolved against the supplied registries at Self::build time.
Implementations§
Source§impl GenericAgentBuilder
impl GenericAgentBuilder
pub fn with_skills<I, S>(self, ids: I) -> Self
pub fn with_tools<I, S>(self, names: I) -> Self
pub fn short_circuit_on_conclude(self, v: bool) -> Self
pub fn build( self, skills: &SkillRegistry, tools: &ToolRegistry, ) -> Result<GenericAgent, KernelError>
Auto Trait Implementations§
impl Freeze for GenericAgentBuilder
impl RefUnwindSafe for GenericAgentBuilder
impl Send for GenericAgentBuilder
impl Sync for GenericAgentBuilder
impl Unpin for GenericAgentBuilder
impl UnsafeUnpin for GenericAgentBuilder
impl UnwindSafe for GenericAgentBuilder
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