pub fn render_system(
template: &str,
slots: &Value,
) -> Result<String, RenderError>Expand description
Render a system_prompt template in strict mode with auto-escape
disabled.
slots is any JSON value. When it is an object, the top-level keys
are exposed as variables — {{ directive }} reads slots.directive.
When it is not an object, this function binds the value under a
single variable named value, reachable as {{ value }}.