pub struct SubagentConfig {
pub model_name: String,
pub max_tokens: u32,
pub system_prompt_prefix: Option<String>,
pub think: bool,
pub tool_names: Option<Vec<String>>,
}Expand description
Configuration for subagent executor
Fields§
§model_name: StringModel name for subagent (typically a fast model)
max_tokens: u32Maximum tokens for subagent responses
system_prompt_prefix: Option<String>System prompt prefix for subagent
think: boolWhether to enable thinking mode
tool_names: Option<Vec<String>>Tools to include (subset of main agent tools)
Trait Implementations§
Source§impl Clone for SubagentConfig
impl Clone for SubagentConfig
Source§fn clone(&self) -> SubagentConfig
fn clone(&self) -> SubagentConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubagentConfig
impl Debug for SubagentConfig
Auto Trait Implementations§
impl Freeze for SubagentConfig
impl RefUnwindSafe for SubagentConfig
impl Send for SubagentConfig
impl Sync for SubagentConfig
impl Unpin for SubagentConfig
impl UnsafeUnpin for SubagentConfig
impl UnwindSafe for SubagentConfig
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