pub struct AgentTool {
pub name: &'static str,
pub description: &'static str,
pub seed: Seed,
}Expand description
One operation an agent can call as a tool
Fields§
§name: &'static strThe tool name, the same on every surface
description: &'static strWhat the tool does, in a sentence or two: every surface’s description, to which a surface adds only what is particular to it
seed: SeedTrait Implementations§
Auto Trait Implementations§
impl Freeze for AgentTool
impl RefUnwindSafe for AgentTool
impl Send for AgentTool
impl Sync for AgentTool
impl Unpin for AgentTool
impl UnsafeUnpin for AgentTool
impl UnwindSafe for AgentTool
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