Skip to main content

render_prompt

Function render_prompt 

Source
pub fn render_prompt(template: &str, vars: &[(&str, &str)]) -> String
Expand description

Simple variable substitution in prompt templates. Replaces {{variable}} with provided values.