pub struct AgentSoulConfig {
pub enabled: bool,
pub max_chars: usize,
pub notify_on_change: bool,
pub bootstrap_once: bool,
pub frequent_change_window_secs: u64,
pub frequent_change_threshold: usize,
pub boundary_confirmation_hint: bool,
}Expand description
Soul/identity settings
Fields§
§enabled: boolWhether soul context injection is enabled.
max_chars: usizeMax characters loaded from each soul markdown file.
notify_on_change: boolWhether to notify user when soul files are updated.
bootstrap_once: boolIf true, BOOTSTRAP.md is only used until bootstrap is completed.
frequent_change_window_secs: u64Rolling window in seconds for frequent soul-change hints.
frequent_change_threshold: usizeMinimum soul-changing turns in window to trigger hints.
boundary_confirmation_hint: boolAdd boundary confirmation hint when SOUL.md changes.
Trait Implementations§
Source§impl Clone for AgentSoulConfig
impl Clone for AgentSoulConfig
Source§fn clone(&self) -> AgentSoulConfig
fn clone(&self) -> AgentSoulConfig
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 AgentSoulConfig
impl Debug for AgentSoulConfig
Source§impl Default for AgentSoulConfig
impl Default for AgentSoulConfig
Source§impl<'de> Deserialize<'de> for AgentSoulConfig
impl<'de> Deserialize<'de> for AgentSoulConfig
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 AgentSoulConfig
impl RefUnwindSafe for AgentSoulConfig
impl Send for AgentSoulConfig
impl Sync for AgentSoulConfig
impl Unpin for AgentSoulConfig
impl UnsafeUnpin for AgentSoulConfig
impl UnwindSafe for AgentSoulConfig
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