pub struct InitialState {
pub system_prompt: Option<String>,
pub model: Option<Model>,
pub thinking_level: Option<ThinkingLevel>,
pub tools: Option<Vec<Arc<dyn AgentTool>>>,
pub messages: Option<Vec<AgentMessage>>,
}Expand description
Subset of AgentState settable at construction.
Fields§
§system_prompt: Option<String>§model: Option<Model>§thinking_level: Option<ThinkingLevel>§tools: Option<Vec<Arc<dyn AgentTool>>>§messages: Option<Vec<AgentMessage>>Trait Implementations§
Source§impl Default for InitialState
impl Default for InitialState
Source§fn default() -> InitialState
fn default() -> InitialState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for InitialState
impl !UnwindSafe for InitialState
impl Freeze for InitialState
impl Send for InitialState
impl Sync for InitialState
impl Unpin for InitialState
impl UnsafeUnpin for InitialState
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