pub fn with_active_step<R>(f: impl FnOnce(&ActiveStep) -> R) -> Option<R>Expand description
Get a snapshot of the topmost active step, if any. Used by the llm_call path to fill in defaults — never for mutation.
pub fn with_active_step<R>(f: impl FnOnce(&ActiveStep) -> R) -> Option<R>Get a snapshot of the topmost active step, if any. Used by the llm_call path to fill in defaults — never for mutation.