Skip to main content

split_prompt

Function split_prompt 

Source
pub fn split_prompt(
    diff: &str,
    context: Option<&str>,
    config: &Config,
    full_gitmoji: bool,
) -> (String, String)
Expand description

Split the prompt into system and user parts for providers that support it