Skip to main content

call_llm_with_fallback

Function call_llm_with_fallback 

Source
pub fn call_llm_with_fallback(
    cfg: &AppConfig,
    system_prompt: &str,
    diff: &str,
) -> Result<(String, Option<String>)>
Expand description

Call LLM with fallback support. Returns (message, fallback_preset_name_if_used).