pub struct AgentLoopConfig {
pub model: Model,
pub reasoning: Option<String>,
pub session_id: Option<String>,
pub api_key: Option<String>,
pub get_steering_messages: Option<MessageSource>,
pub before_tool_call: Option<BeforeToolCall>,
}Fields§
§model: Model§reasoning: Option<String>None is thinking off.
session_id: Option<String>§api_key: Option<String>§get_steering_messages: Option<MessageSource>§before_tool_call: Option<BeforeToolCall>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AgentLoopConfig
impl !Sync for AgentLoopConfig
impl !UnwindSafe for AgentLoopConfig
impl Forget for AgentLoopConfig
impl Freeze for AgentLoopConfig
impl Move for AgentLoopConfig
impl Send 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