Skip to main content

with_active_step

Function with_active_step 

Source
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.