codetether-agent 4.7.0-a-002.4

A2A-native AI coding agent for the CodeTether ecosystem
Documentation
1
2
3
4
5
6
7
8
9
//! Summarize lookup logic for [`ContextSummarizeTool`].

use crate::session::Session;
use crate::session::index::types::{SummaryNode, SummaryRange};

/// Look up a cached summary from the session index.
pub fn lookup_cached(session: &Session, range: SummaryRange) -> Option<&SummaryNode> {
    session.summary_index.get(range)
}