pub struct ReactAgentOptions {
pub checkpointer: Option<Arc<dyn Checkpointer>>,
pub interrupt_before: Vec<String>,
pub interrupt_after: Vec<String>,
pub system_prompt: Option<String>,
}Expand description
Options for creating a ReAct agent with create_react_agent_with_options.
Fields§
§checkpointer: Option<Arc<dyn Checkpointer>>Optional checkpointer for state persistence across invocations.
interrupt_before: Vec<String>Node names that should interrupt BEFORE execution (human-in-the-loop).
interrupt_after: Vec<String>Node names that should interrupt AFTER execution (human-in-the-loop).
system_prompt: Option<String>Optional system prompt to prepend to messages before calling the model.
Trait Implementations§
Source§impl Default for ReactAgentOptions
impl Default for ReactAgentOptions
Source§fn default() -> ReactAgentOptions
fn default() -> ReactAgentOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReactAgentOptions
impl !RefUnwindSafe for ReactAgentOptions
impl Send for ReactAgentOptions
impl Sync for ReactAgentOptions
impl Unpin for ReactAgentOptions
impl UnsafeUnpin for ReactAgentOptions
impl !UnwindSafe for ReactAgentOptions
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