pub struct BranchSummary {
pub summary: String,
pub node_id: String,
pub branch: String,
pub model_id: Option<String>,
pub created_at_ms: i64,
}Expand description
A branch-carried summary (module 21 “branch summaries”, the C7
lossy→sidecar-backed path): a short human-readable digest of a branch,
paired with the pointer back to the full branch data (branch, a key
into SessionTree::branches — the full nodes never move or get
deleted, so this is always resolvable back to the source, §1.13).
Fields§
§summary: StringThe short summary text.
node_id: StringThe node id this summary was generated as-of (normally the branch’s leaf at generation time).
branch: StringWhich branch (a key into SessionTree::branches) this summary
describes — the recoverability pointer: the full branch is still
right there, keyed by this name, never dropped.
model_id: Option<String>Which model produced this summary, if generated via
BranchSummarizer (mirrors reduce/summarize.rs’s
SpanSummary::model_id). None for a caller-provided summary text.
created_at_ms: i64Unix-ms wall-clock time the summary was generated.
Trait Implementations§
Source§impl Clone for BranchSummary
impl Clone for BranchSummary
Source§fn clone(&self) -> BranchSummary
fn clone(&self) -> BranchSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more