pub struct AgentLoopConfig {
pub client: Client,
pub model: Model,
pub options: SimpleStreamOptions,
pub tool_execution: ExecutionMode,
pub gate: Option<Arc<dyn ToolGate>>,
}Expand description
Configuration for the agent loop.
Fields§
§client: Client§model: Model§options: SimpleStreamOptions§tool_execution: ExecutionMode§gate: Option<Arc<dyn ToolGate>>Auto Trait Implementations§
impl !RefUnwindSafe for AgentLoopConfig
impl !UnwindSafe for AgentLoopConfig
impl Forget for AgentLoopConfig
impl Freeze for AgentLoopConfig
impl Move for AgentLoopConfig
impl Send for AgentLoopConfig
impl Sync for AgentLoopConfig
impl Unpin for AgentLoopConfig
impl UnsafeUnpin for AgentLoopConfig
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