Skip to main content

ForkSource

Type Alias ForkSource 

Source
pub type ForkSource = Arc<dyn Fn(&ToolContext) -> Option<String> + Send + Sync>;
Expand description

Produces a summary of the parent’s transcript for ContextMode::Fork. It receives the trusted context of the delegating call (session, run and call ids) and returns None when no summary is available.

Aliased Type§

pub struct ForkSource { /* private fields */ }