pub struct AgentOptions {
pub model: Model,
pub system_prompt: Option<String>,
pub tools: Vec<Arc<dyn AgentTool>>,
pub messages: Vec<AgentMessage>,
pub thinking_level: String,
pub steering_mode: QueueMode,
pub session_id: Option<String>,
pub before_tool_call: Option<BeforeToolCall>,
}Fields§
§model: Model§system_prompt: Option<String>§tools: Vec<Arc<dyn AgentTool>>§messages: Vec<AgentMessage>§thinking_level: String"off" or a reasoning level.
steering_mode: QueueMode§session_id: Option<String>§before_tool_call: Option<BeforeToolCall>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AgentOptions
impl !UnwindSafe for AgentOptions
impl Forget for AgentOptions
impl Freeze for AgentOptions
impl Move for AgentOptions
impl Send for AgentOptions
impl Sync for AgentOptions
impl Unpin for AgentOptions
impl UnsafeUnpin for AgentOptions
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