pub struct ResolvedRuntime {Show 19 fields
pub compact_context: bool,
pub max_tool_iterations: usize,
pub max_history_messages: usize,
pub max_context_tokens: usize,
pub parallel_tools: bool,
pub tool_dispatcher: String,
pub strict_tool_parsing: bool,
pub tool_call_dedup_exempt: Vec<String>,
pub tool_filter_groups: Vec<ToolFilterGroup>,
pub max_system_prompt_chars: usize,
pub thinking: ThinkingConfig,
pub history_pruning: HistoryPrunerConfig,
pub context_aware_tools: bool,
pub eval: EvalConfig,
pub auto_classify: Option<AutoClassifyConfig>,
pub context_compression: ContextCompressionConfig,
pub max_tool_result_chars: usize,
pub keep_tool_context_turns: usize,
pub tool_receipts: ToolReceiptsConfig,
}Expand description
Runtime tunables resolved from the agent’s runtime profile. Populated
by Config::resolved_agent_config; never deserialized from the agent
table. The runtime profile is the sole config surface for these.
Fields§
§compact_context: bool§max_tool_iterations: usize§max_history_messages: usize§max_context_tokens: usize§parallel_tools: bool§tool_dispatcher: String§strict_tool_parsing: bool§tool_call_dedup_exempt: Vec<String>§tool_filter_groups: Vec<ToolFilterGroup>§max_system_prompt_chars: usize§thinking: ThinkingConfig§history_pruning: HistoryPrunerConfig§context_aware_tools: bool§eval: EvalConfig§auto_classify: Option<AutoClassifyConfig>§context_compression: ContextCompressionConfig§max_tool_result_chars: usize§keep_tool_context_turns: usize§tool_receipts: ToolReceiptsConfigTrait Implementations§
Source§impl Clone for ResolvedRuntime
impl Clone for ResolvedRuntime
Source§fn clone(&self) -> ResolvedRuntime
fn clone(&self) -> ResolvedRuntime
Returns a duplicate of the value. Read more
1.0.0 · 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 ResolvedRuntime
impl Debug for ResolvedRuntime
Source§impl Default for ResolvedRuntime
impl Default for ResolvedRuntime
Source§fn default() -> ResolvedRuntime
fn default() -> ResolvedRuntime
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResolvedRuntime
impl RefUnwindSafe for ResolvedRuntime
impl Send for ResolvedRuntime
impl Sync for ResolvedRuntime
impl Unpin for ResolvedRuntime
impl UnsafeUnpin for ResolvedRuntime
impl UnwindSafe for ResolvedRuntime
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more