pub struct BrainConfig {
pub enabled: bool,
pub endpoint: String,
pub model: String,
pub auto_mode: bool,
pub timeout_ms: u64,
pub max_context_tokens: u32,
pub few_shot_count: usize,
pub max_sessions: usize,
pub orchestrate: bool,
pub orchestrate_interval_secs: u64,
pub test_runners: Vec<String>,
}Expand description
Configuration for the optional local LLM brain.
When None, brain is completely disabled with zero overhead.
Fields§
§enabled: bool§endpoint: String§model: String§auto_mode: bool§timeout_ms: u64§max_context_tokens: u32§few_shot_count: usize§max_sessions: usize§orchestrate: bool§orchestrate_interval_secs: u64§test_runners: Vec<String>Command prefixes that identify test-runner invocations. When one of
these fails (non-zero exit), the reaper fans the failure out to recent
brain-approved edits as a TestFailed outcome (#238). Empty disables
test-failure attribution.
Trait Implementations§
Source§impl Clone for BrainConfig
impl Clone for BrainConfig
Source§fn clone(&self) -> BrainConfig
fn clone(&self) -> BrainConfig
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 BrainConfig
impl Debug for BrainConfig
Auto Trait Implementations§
impl Freeze for BrainConfig
impl RefUnwindSafe for BrainConfig
impl Send for BrainConfig
impl Sync for BrainConfig
impl Unpin for BrainConfig
impl UnsafeUnpin for BrainConfig
impl UnwindSafe for BrainConfig
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,
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