Skip to main content

fill_preview_from_summary

Function fill_preview_from_summary 

Source
fn fill_preview_from_summary(
    deps: &RecentSessionsDeps,
    inst: &AgentInstance,
    def: Option<&AgentDefinition>,
    activity: &mut Activity,
    degraded: &mut Vec<&'static str>,
)
Expand description

No structured snapshot to preview: use the agent’s persisted summary, or ask for one once per definition per process (a Haiku summary of its raw terminal output, REPORT_AGENT_PICKER_FIELD_ORDER_SORT_AND_DATA_GAPS_AUDIT §5a). Only for a local row with a real block: a cross-channel row has no local raw output, and keeps the plain fallback text, which is accurate for it.