pub struct UserConfig {
pub file: String,
pub memory_file: String,
pub memory_budget_chars: usize,
}Expand description
[user]: the user model and the agent’s memory file.
Fields§
§file: StringThe user model, relative to this profile’s config directory unless absolute.
memory_file: StringThe agent’s memory file, same resolution.
memory_budget_chars: usizeCeiling for MEMORY.md in characters. The memory tool refuses past this rather than
silently overwriting what is already there.
Trait Implementations§
Source§impl Clone for UserConfig
impl Clone for UserConfig
Source§impl Debug for UserConfig
impl Debug for UserConfig
Source§impl Default for UserConfig
impl Default for UserConfig
Source§impl<'de> Deserialize<'de> for UserConfigwhere
UserConfig: Default,
impl<'de> Deserialize<'de> for UserConfigwhere
UserConfig: Default,
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 Forget for UserConfig
impl Freeze for UserConfig
impl Move for UserConfig
impl RefUnwindSafe for UserConfig
impl Send for UserConfigwhere
RawVecInner: Send,
impl Sync for UserConfigwhere
RawVecInner: Sync,
impl Unpin for UserConfig
impl UnsafeUnpin for UserConfig
impl UnwindSafe for UserConfigwhere
RawVecInner: UnwindSafe,
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