pub struct HistoryConfig {
pub window_user: usize,
pub window_agent: usize,
pub max_bytes: usize,
pub transcript_path: Option<String>,
}Expand description
Conversation-trajectory window.
Fields§
§window_user: usize§window_agent: usize§max_bytes: usize§transcript_path: Option<String>Optional repo-relative JSONL transcript ({role,text} per line). When
unset or missing, recent commits are used as the trajectory proxy.
Trait Implementations§
Source§impl Clone for HistoryConfig
impl Clone for HistoryConfig
Source§fn clone(&self) -> HistoryConfig
fn clone(&self) -> HistoryConfig
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 HistoryConfig
impl Debug for HistoryConfig
Source§impl Default for HistoryConfig
impl Default for HistoryConfig
Source§impl<'de> Deserialize<'de> for HistoryConfigwhere
HistoryConfig: Default,
impl<'de> Deserialize<'de> for HistoryConfigwhere
HistoryConfig: 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
impl Eq for HistoryConfig
Source§impl PartialEq for HistoryConfig
impl PartialEq for HistoryConfig
Source§fn eq(&self, other: &HistoryConfig) -> bool
fn eq(&self, other: &HistoryConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HistoryConfig
impl Serialize for HistoryConfig
impl StructuralPartialEq for HistoryConfig
Auto Trait Implementations§
impl Freeze for HistoryConfig
impl RefUnwindSafe for HistoryConfig
impl Send for HistoryConfig
impl Sync for HistoryConfig
impl Unpin for HistoryConfig
impl UnsafeUnpin for HistoryConfig
impl UnwindSafe for HistoryConfig
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