Skip to main content

build_session_context

Function build_session_context 

Source
pub fn build_session_context(path: &[SessionEntry]) -> SessionContext
Expand description

Build the session context from a resolved branch path.

Pi-compatible: walks path to find latest thinking level, model, active tools, and handles compaction by replacing compacted entries with a summary message.