pub struct RuntimeOverrides {Show 13 fields
pub embedding_dim: Option<u32>,
pub llm_model: Option<String>,
pub llm_fallback: Option<String>,
pub skip_embedding_on_failure: bool,
pub llm_max_host_concurrency: Option<usize>,
pub llm_slot_wait_secs: Option<u64>,
pub llm_slot_no_wait: bool,
pub openrouter_timeout: Option<u64>,
pub log_level: Option<String>,
pub log_format: Option<String>,
pub lang: Option<String>,
pub display_tz: Option<String>,
pub db_path: Option<String>,
}Expand description
Process-wide overrides captured once from CLI flags at bootstrap.
Fields§
§embedding_dim: Option<u32>Embedding dim.
llm_model: Option<String>LLM model.
llm_fallback: Option<String>LLM fallback.
skip_embedding_on_failure: boolSkip embedding on failure.
llm_max_host_concurrency: Option<usize>LLM max host concurrency.
llm_slot_wait_secs: Option<u64>LLM slot wait secs.
llm_slot_no_wait: boolLLM slot no wait.
openrouter_timeout: Option<u64>Strict ENV clear.
CLI --openrouter-timeout, in seconds.
Global since v1.2.3. It used to be declared only on enrich, so every
other embedding path — remember, ingest, edit, restore,
split-body and both read paths — was pinned to the compiled default
with no operator recourse, and a slow provider surfaced as exit 11.
None means the flag was omitted, which is what lets flag > XDG >
constant resolve instead of a clap default always winning.
log_level: Option<String>Log level.
log_format: Option<String>Log format.
lang: Option<String>Lang.
display_tz: Option<String>Display TZ.
db_path: Option<String>DB path.
Trait Implementations§
Source§impl Clone for RuntimeOverrides
impl Clone for RuntimeOverrides
Source§fn clone(&self) -> RuntimeOverrides
fn clone(&self) -> RuntimeOverrides
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 RuntimeOverrides
impl Debug for RuntimeOverrides
Source§impl Default for RuntimeOverrides
impl Default for RuntimeOverrides
Source§fn default() -> RuntimeOverrides
fn default() -> RuntimeOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeOverrides
impl RefUnwindSafe for RuntimeOverrides
impl Send for RuntimeOverrides
impl Sync for RuntimeOverrides
impl Unpin for RuntimeOverrides
impl UnsafeUnpin for RuntimeOverrides
impl UnwindSafe for RuntimeOverrides
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> ErasedDestructor for Twhere
T: 'static,
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