pub struct MicroagentConfig {
pub max_output_tokens: u32,
pub temperature: f32,
pub system_prompt_template: String,
pub red_flag_config: RedFlagConfig,
pub timeout_ms: u64,
}Expand description
Configuration for microagent execution
Fields§
§max_output_tokens: u32Maximum output tokens (strict limit for red-flagging, paper: ~750)
temperature: f32Sampling temperature (paper used low temp for consistency)
system_prompt_template: StringSystem prompt template
red_flag_config: RedFlagConfigRed-flag configuration
timeout_ms: u64Request timeout in milliseconds
Trait Implementations§
Source§impl Clone for MicroagentConfig
impl Clone for MicroagentConfig
Source§fn clone(&self) -> MicroagentConfig
fn clone(&self) -> MicroagentConfig
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 MicroagentConfig
impl Debug for MicroagentConfig
Auto Trait Implementations§
impl Freeze for MicroagentConfig
impl RefUnwindSafe for MicroagentConfig
impl Send for MicroagentConfig
impl Sync for MicroagentConfig
impl Unpin for MicroagentConfig
impl UnsafeUnpin for MicroagentConfig
impl UnwindSafe for MicroagentConfig
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