Skip to main content

run_with

Function run_with 

Source
pub async fn run_with(
    force: bool,
    global_override: Option<&Path>,
    cwd: &Path,
    prompt: &mut impl PromptSource,
    hf: &mut impl HfTreeFetcher,
) -> Result<()>
Expand description

Drives the three-phase flow against an arbitrary PromptSource. cwd anchors the repo-config phase (no walk-up; init is meant for initial setup of the directory you’re standing in). hf is the HuggingFace tree-listing client used by mistralrs model-id prompts.