pub struct AgentTool {
pub agent: Arc<dyn Agent>,
pub skip_summarization: Option<bool>,
}Expand description
The configuration of the agent tool.
Fields§
§agent: Arc<dyn Agent>The reference to the agent instance.
skip_summarization: Option<bool>Whether to skip summarization of the agent output.
Auto Trait Implementations§
impl Freeze for AgentTool
impl !RefUnwindSafe for AgentTool
impl Send for AgentTool
impl Sync for AgentTool
impl Unpin 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