Skip to main content

prepare_prompt

Function prepare_prompt 

Source
pub fn prepare_prompt(input: &str, config: &Config) -> Result<(String, String)>
Expand description

Build the augmented system prompt and payload for input without calling the model. Used by --dump-prompt to print and exit before any API call.