pub struct LimitsSection {
pub max_search_rounds: Option<usize>,
pub subagent_max_depth: Option<usize>,
pub max_concurrent_runs: Option<usize>,
pub goal_eval_transcript_tail: Option<usize>,
}Expand description
[limits] section. Various runtime limits and thresholds.
Falls back to individual RECURSIVE_* env vars.
Example:
[limits]
max_search_rounds = 5
subagent_max_depth = 3
max_concurrent_runs = 8
goal_eval_transcript_tail = 12Fields§
§max_search_rounds: Option<usize>Maximum number of ToolSearchTool round-trips per
complete_with_search / stream_with_search call.
Corresponding env var: RECURSIVE_MAX_SEARCH_ROUNDS. Default: 3.
subagent_max_depth: Option<usize>Maximum nesting depth for sub-agents and parallel workers.
Corresponding env var: RECURSIVE_SUBAGENT_MAX_DEPTH. Default: 2.
max_concurrent_runs: Option<usize>Maximum number of concurrent agent runs across all HTTP endpoints.
Corresponding env var: RECURSIVE_MAX_CONCURRENT_RUNS. Default: 8.
goal_eval_transcript_tail: Option<usize>Number of most-recent transcript messages passed to the goal
evaluator judge on each turn.
Corresponding env var: RECURSIVE_GOAL_EVAL_TRANSCRIPT_TAIL. Default: 12.
Trait Implementations§
Source§impl Clone for LimitsSection
impl Clone for LimitsSection
Source§impl Debug for LimitsSection
impl Debug for LimitsSection
Source§impl Default for LimitsSection
impl Default for LimitsSection
Source§impl<'de> Deserialize<'de> for LimitsSection
impl<'de> Deserialize<'de> for LimitsSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LimitsSection
impl RefUnwindSafe for LimitsSection
impl Send for LimitsSection
impl Sync for LimitsSection
impl Unpin for LimitsSection
impl UnsafeUnpin for LimitsSection
impl UnwindSafe for LimitsSection
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.