pub struct RuntimeSetConfig {
pub max_turns: usize,
pub max_tokens: Option<u32>,
pub temperature: Option<f32>,
pub context_budget: ContextBudget,
pub parallel_tool_execution: bool,
pub enable_delegation: bool,
}Expand description
Configuration for building a [RuntimeSet].
Fields§
§max_turns: usizeMaximum turns per agent.
max_tokens: Option<u32>Maximum tokens per completion.
temperature: Option<f32>Temperature for completions.
context_budget: ContextBudgetContext budget for the context window.
parallel_tool_execution: boolWhether to enable parallel tool execution.
enable_delegation: boolWhether to register the DelegateToAgentTool for inter-agent
delegation. Only useful when there are multiple agents.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuntimeSetConfig
impl RefUnwindSafe for RuntimeSetConfig
impl Send for RuntimeSetConfig
impl Sync for RuntimeSetConfig
impl Unpin for RuntimeSetConfig
impl UnsafeUnpin for RuntimeSetConfig
impl UnwindSafe for RuntimeSetConfig
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