pub struct ConversationView {
pub conversation_id: ConversationId,
pub namespace: MemoryNamespace,
pub version: ConversationVersion,
pub summary: Option<ConversationSummary>,
pub summary_buffer: Vec<ConversationTranscriptEntry>,
pub summary_backlog: u64,
pub window: Vec<ConversationTranscriptEntry>,
}Expand description
Bounded context view derived without mutating the transcript.
Fields§
§conversation_id: ConversationIdConversation identity.
namespace: MemoryNamespaceNamespace used for cross-conversation semantic memory.
version: ConversationVersionCurrent transcript append version.
summary: Option<ConversationSummary>Latest monotonic summary, when one exists.
summary_buffer: Vec<ConversationTranscriptEntry>Older unsummarized entries excluded from the live window.
summary_backlog: u64Unsummarized entries still waiting behind the returned summary batch.
window: Vec<ConversationTranscriptEntry>Most recent model-visible transcript suffix.
Implementations§
Source§impl ConversationView
impl ConversationView
Sourcepub fn requires_summary(&self) -> bool
pub fn requires_summary(&self) -> bool
Returns whether another summary must be committed before bounded Agent execution.
Trait Implementations§
Source§impl Clone for ConversationView
impl Clone for ConversationView
Source§fn clone(&self) -> ConversationView
fn clone(&self) -> ConversationView
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 ConversationView
impl Debug for ConversationView
Source§impl PartialEq for ConversationView
impl PartialEq for ConversationView
impl StructuralPartialEq for ConversationView
Auto Trait Implementations§
impl Freeze for ConversationView
impl RefUnwindSafe for ConversationView
impl Send for ConversationView
impl Sync for ConversationView
impl Unpin for ConversationView
impl UnsafeUnpin for ConversationView
impl UnwindSafe for ConversationView
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