pub struct ScenarioDefaults;
Expand description
Scenario defaults
Implementations§
Source§impl ScenarioDefaults
impl ScenarioDefaults
pub const HIGH_PERF_MAX_AGENTS: usize = 5usize
pub const HIGH_PERF_CONTEXT_WINDOW: usize = 200_000usize
pub const HIGH_PERF_MAX_CONTEXTS: usize = 2_000usize
pub const HIGH_QUALITY_MAX_AGENTS: usize = 3usize
pub const HIGH_QUALITY_CONTEXT_WINDOW: usize = 150_000usize
pub const HIGH_QUALITY_MAX_CONTEXTS: usize = 1_500usize
pub const BALANCED_MAX_AGENTS: usize = 4usize
pub const BALANCED_CONTEXT_WINDOW: usize = 125_000usize
pub const BALANCED_MAX_CONTEXTS: usize = 1_250usize
pub fn max_scenarios() -> usize
pub fn default_timeout() -> u64
pub fn high_perf_timeout() -> Duration
pub fn high_quality_timeout() -> Duration
pub fn balanced_timeout() -> Duration
Auto Trait Implementations§
impl Freeze for ScenarioDefaults
impl RefUnwindSafe for ScenarioDefaults
impl Send for ScenarioDefaults
impl Sync for ScenarioDefaults
impl Unpin for ScenarioDefaults
impl UnwindSafe for ScenarioDefaults
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> 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> 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