pub struct AgentLoopCompactionConfig {
pub agent_config: AgentConfig,
pub compaction_config: CompactionConfig,
}Expand description
Configuration bundle for constructing an AgentLoop with compaction.
Fields§
§agent_config: AgentConfig§compaction_config: CompactionConfigImplementations§
Source§impl AgentLoopCompactionConfig
impl AgentLoopCompactionConfig
pub const fn new( agent_config: AgentConfig, compaction_config: CompactionConfig, ) -> Self
Auto Trait Implementations§
impl Freeze for AgentLoopCompactionConfig
impl RefUnwindSafe for AgentLoopCompactionConfig
impl Send for AgentLoopCompactionConfig
impl Sync for AgentLoopCompactionConfig
impl Unpin for AgentLoopCompactionConfig
impl UnsafeUnpin for AgentLoopCompactionConfig
impl UnwindSafe for AgentLoopCompactionConfig
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