Expand description
Instruction templating — inject state values into instruction strings.
Replaces {key} placeholders with values from the state container.
Supports optional {key?} syntax that resolves to empty string if missing.
Functions§
- inject_
session_ state - Replace
{key}placeholders intemplatewith values fromstate.